From 10d892e58692dd5ddcf07cd5df2d8d8d24ceb22e Mon Sep 17 00:00:00 2001 From: JonasEbbinghaus25 Date: Wed, 12 Jun 2024 20:10:09 +0200 Subject: [PATCH] register --- src/main/web/src/services/tests/AuthService.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/web/src/services/tests/AuthService.test.tsx b/src/main/web/src/services/tests/AuthService.test.tsx index 604b18a2..e89ebf2f 100644 --- a/src/main/web/src/services/tests/AuthService.test.tsx +++ b/src/main/web/src/services/tests/AuthService.test.tsx @@ -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');