Skip to content

Commit 3d544a4

Browse files
committed
Fix authmethods in test
1 parent 4f1e907 commit 3d544a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/src/pages/login.test.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe("SignInPage", () => {
1818
)
1919
// only leave password auth enabled by default
2020
server.use(
21-
rest.get("/api/v2/users/auth", (req, res, ctx) => {
21+
rest.get("/api/v2/users/authmethods", (req, res, ctx) => {
2222
return res(
2323
ctx.status(200),
2424
ctx.json({
@@ -66,7 +66,7 @@ describe("SignInPage", () => {
6666
it("shows github authentication when enabled", async () => {
6767
// Given
6868
server.use(
69-
rest.get("/api/v2/users/auth", async (req, res, ctx) => {
69+
rest.get("/api/v2/users/authmethods", async (req, res, ctx) => {
7070
return res(
7171
ctx.status(200),
7272
ctx.json({

0 commit comments

Comments
 (0)