We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee38487 commit 7c5efffCopy full SHA for 7c5efff
src/services/db/__tests__/GitHubService.spec.ts
@@ -48,6 +48,7 @@ describe("Github Service", () => {
48
const resourceCategoryFileName = "index.html"
49
50
const sessionData = mockUserWithSiteSessionData
51
+ const mockE2eToken = "test"
52
53
const authHeader = {
54
headers: {
@@ -1042,7 +1043,7 @@ describe("Github Service", () => {
1042
1043
describe("changeRepoPrivacy", () => {
1044
const refEndpoint = `${siteName}`
1045
const headers = {
- Authorization: `token ${accessToken}`,
1046
+ Authorization: `token ${mockE2eToken}`,
1047
"Content-Type": "application/json",
1048
}
1049
it("should modify the repo privacy accordingly if making repo private", async () => {
0 commit comments