Skip to content

Commit db18ffa

Browse files
committed
Remove unused mock config from test
1 parent 9ba2c68 commit db18ffa

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

client/src/entry/analysis/modules/Login.test.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,6 @@ import Login from "./Login.vue";
1010

1111
const localVue = getLocalVue(true);
1212

13-
const configMock = {
14-
allow_local_account_creation: true,
15-
enable_oidc: true,
16-
mailing_join_addr: "mailing_join_addr",
17-
prefer_custos_login: true,
18-
registration_warning_message: "registration_warning_message",
19-
server_mail_configured: true,
20-
show_welcome_with_login: true,
21-
terms_url: "terms_url",
22-
welcome_url: "welcome_url",
23-
};
24-
2513
vi.mock("@/app/index", () => ({
2614
getGalaxyInstance: vi.fn(() => ({ session_csrf_token: "session_csrf_token" })),
2715
}));

client/src/entry/analysis/modules/Register.test.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,6 @@ import RegisterForm from "@/components/Register/RegisterForm.vue";
1010

1111
const localVue = getLocalVue(true);
1212

13-
const configMock = {
14-
allow_local_account_creation: true,
15-
enable_oidc: true,
16-
mailing_join_addr: "mailing_join_addr",
17-
prefer_custos_login: true,
18-
registration_warning_message: "registration_warning_message",
19-
server_mail_configured: true,
20-
show_welcome_with_login: true,
21-
terms_url: "terms_url",
22-
welcome_url: "welcome_url",
23-
};
24-
2513
vi.mock("@/app/index", () => ({
2614
getGalaxyInstance: vi.fn(() => ({ session_csrf_token: "session_csrf_token" })),
2715
}));

0 commit comments

Comments
 (0)