Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Commit

Permalink
register
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasEbbinghaus25 committed Jun 12, 2024
1 parent d840d6e commit 10d892e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/web/src/services/tests/AuthService.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('AuthService', () => {

const response = await authService.register(username, email, password);

expect(response.data).toEqual(responseData);
expect(response).toEqual(responseData);
expect(localStorage.getItem('accountId')).toEqual('1');
expect(localStorage.getItem('userId')).toEqual('2');
expect(localStorage.getItem('username')).toEqual('testuser');
Expand Down

0 comments on commit 10d892e

Please sign in to comment.