Skip to content

Commit 7c5efff

Browse files
fix: test
1 parent ee38487 commit 7c5efff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/services/db/__tests__/GitHubService.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ describe("Github Service", () => {
4848
const resourceCategoryFileName = "index.html"
4949

5050
const sessionData = mockUserWithSiteSessionData
51+
const mockE2eToken = "test"
5152

5253
const authHeader = {
5354
headers: {
@@ -1042,7 +1043,7 @@ describe("Github Service", () => {
10421043
describe("changeRepoPrivacy", () => {
10431044
const refEndpoint = `${siteName}`
10441045
const headers = {
1045-
Authorization: `token ${accessToken}`,
1046+
Authorization: `token ${mockE2eToken}`,
10461047
"Content-Type": "application/json",
10471048
}
10481049
it("should modify the repo privacy accordingly if making repo private", async () => {

0 commit comments

Comments
 (0)