imageFilenames and imageFilename, backend integration tests, frontend tests, removed username references
This commit is contained in:
@@ -319,7 +319,7 @@ describe('Auth Routes', () => {
|
||||
email: 'test@gmail.com',
|
||||
firstName: 'Test',
|
||||
lastName: 'User',
|
||||
profileImage: 'profile.jpg'
|
||||
imageFilename: 'profile.jpg'
|
||||
};
|
||||
|
||||
User.create.mockResolvedValue(newUser);
|
||||
@@ -338,7 +338,7 @@ describe('Auth Routes', () => {
|
||||
lastName: 'User',
|
||||
authProvider: 'google',
|
||||
providerId: 'google123',
|
||||
profileImage: 'profile.jpg',
|
||||
imageFilename: 'profile.jpg',
|
||||
username: 'test_gle123'
|
||||
});
|
||||
});
|
||||
@@ -785,7 +785,7 @@ describe('Auth Routes', () => {
|
||||
email: 'oauth@gmail.com',
|
||||
firstName: 'OAuth',
|
||||
lastName: 'User',
|
||||
profileImage: 'pic.jpg',
|
||||
imageFilename: 'pic.jpg',
|
||||
isVerified: true
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user