test(login): update test to expect /callback/local and assert callbackUrl
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m12s
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m12s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -13,7 +13,8 @@ describe('login page load', () => {
|
||||
} as Parameters<typeof load>[0]);
|
||||
|
||||
expect(result.signinUrl).toBe('https://example.com/auth/signin/synology');
|
||||
expect(result.localSigninUrl).toBe('https://example.com/auth/signin/local');
|
||||
expect(result.localSigninUrl).toBe('https://example.com/auth/callback/local');
|
||||
expect(result.callbackUrl).toBe('https://example.com');
|
||||
expect(result.localAuthEnabled).toBe(true);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user