Skip to content

Commit d1fbd56

Browse files
committed
fix unit test
1 parent 5bdc79a commit d1fbd56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

site/src/pages/LoginPage/LoginPage.test.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ describe("LoginPage", () => {
6161

6262
it("shows github authentication when enabled", async () => {
6363
const authMethods: TypesGen.AuthMethods = {
64+
convert_to_oidc_enabled: false,
6465
password: { enabled: true },
6566
github: { enabled: true },
6667
oidc: { enabled: true, signInText: "", iconUrl: "" },
@@ -112,6 +113,7 @@ describe("LoginPage", () => {
112113

113114
it("hides password authentication if OIDC/GitHub is enabled and displays on click", async () => {
114115
const authMethods: TypesGen.AuthMethods = {
116+
convert_to_oidc_enabled: false,
115117
password: { enabled: true },
116118
github: { enabled: true },
117119
oidc: { enabled: true, signInText: "", iconUrl: "" },

0 commit comments

Comments
 (0)