fix issues
This commit is contained in:
@@ -42,7 +42,7 @@ describe('GetUserUseCase', () => {
|
||||
const storedUser: StoredUser = {
|
||||
id: 'user-1',
|
||||
email: 'test@example.com',
|
||||
displayName: 'Test User',
|
||||
displayName: 'John Smith',
|
||||
passwordHash: 'hash',
|
||||
primaryDriverId: 'driver-1',
|
||||
createdAt: new Date(),
|
||||
@@ -60,7 +60,7 @@ describe('GetUserUseCase', () => {
|
||||
const user = (callArgs as GetUserOutput).unwrap().user;
|
||||
expect(user).toBeInstanceOf(User);
|
||||
expect(user.getId().value).toBe('user-1');
|
||||
expect(user.getDisplayName()).toBe('Test User');
|
||||
expect(user.getDisplayName()).toBe('John Smith');
|
||||
});
|
||||
|
||||
it('returns error when the user does not exist', async () => {
|
||||
|
||||
Reference in New Issue
Block a user