Skip to content

Commit 66cbb82

Browse files
committed
fix:test - remove the obsolete authSession.info spy
1 parent 9933c3c commit 66cbb82

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

test/unit/login/login.test.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ describe('getUserRoles', () => {
2020
})
2121

2222
it('returns [] and does not load preferences when current user is missing', async () => {
23-
vi.spyOn(authSession, 'info', 'get').mockReturnValue({
24-
isLoggedIn: true,
25-
webId: 'https://alice.example.com/profile/card#me',
26-
sessionId: 'test-session'
27-
})
28-
2923
const currentUserSpy = vi
3024
.spyOn(authn, 'currentUser')
3125
.mockReturnValue(null)

0 commit comments

Comments
 (0)