Updated authentication.
This commit is contained in:
@@ -39,7 +39,7 @@ test("User is redirected to login when JWT token is invalid", async (t) => {
|
||||
* Test if the user is redirected to login when JWT token is invalid.
|
||||
*/
|
||||
const setCookie = ClientFunction(() => {
|
||||
document.cookie = "jwt=FOOBAR";
|
||||
document.cookie = "jwt_access=FOOBAR";
|
||||
});
|
||||
await setCookie();
|
||||
await t.navigateTo("/admin/events");
|
||||
|
||||
Reference in New Issue
Block a user