remove companion tests

This commit is contained in:
2026-01-03 15:58:04 +01:00
parent afbe42b0e1
commit e151fe02d0
36 changed files with 10 additions and 5735 deletions

View File

@@ -214,7 +214,7 @@ describe('RouteAccessPolicy', () => {
describe('roleHomeRouteId', () => {
it('should return correct route ID for driver role', () => {
const result = policy.roleHomeRouteId('driver');
expect(result).toBe('dashboard');
expect(result).toBe('protected.dashboard');
});
it('should return correct route ID for sponsor role', () => {

View File

@@ -70,9 +70,10 @@ describe('SessionGateway', () => {
// Assert
expect(result).toEqual(mockSession);
expect(mockFetch).toHaveBeenCalledWith('/api/auth/session', {
expect(mockFetch).toHaveBeenCalledWith('http://localhost:3101/auth/session', {
headers: { cookie: 'gp_session=valid-token; other=value' },
cache: 'no-store',
credentials: 'include',
});
});