Skip to content

Commit

Permalink
fix(test): Remove port number from OAuth grant
Browse files Browse the repository at this point in the history
  • Loading branch information
neet committed Aug 9, 2023
1 parent 3294a8d commit d095916
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test-utils/jest-global-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const readOrCreateAdminToken = async (
grantType: "password",
clientId: app.clientId!,
clientSecret: app.clientSecret!,
username: "admin@localhost:3000",
username: "admin@localhost",
password: "mastodonadmin",
scope: "read write follow push admin:read admin:write",
});
Expand Down
2 changes: 1 addition & 1 deletion tests/oauth/token.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ it("issues token", async () => {
grantType: "password",
clientId: global.__misc__.app.clientId!,
clientSecret: global.__misc__.app.clientSecret!,
username: "admin@localhost:3000",
username: "admin@localhost",
password: "mastodonadmin",
scope: "read write follow push admin:read admin:write",
});
Expand Down

0 comments on commit d095916

Please sign in to comment.