updating unit and integration tests
This commit is contained in:
@@ -143,7 +143,7 @@ describe('Rentals Routes', () => {
|
||||
{
|
||||
model: User,
|
||||
as: 'owner',
|
||||
attributes: ['id', 'firstName', 'lastName'],
|
||||
attributes: ['id', 'firstName', 'lastName', 'imageFilename'],
|
||||
},
|
||||
],
|
||||
order: [['createdAt', 'DESC']],
|
||||
@@ -186,7 +186,7 @@ describe('Rentals Routes', () => {
|
||||
{
|
||||
model: User,
|
||||
as: 'renter',
|
||||
attributes: ['id', 'firstName', 'lastName'],
|
||||
attributes: ['id', 'firstName', 'lastName', 'imageFilename'],
|
||||
},
|
||||
],
|
||||
order: [['createdAt', 'DESC']],
|
||||
|
||||
Reference in New Issue
Block a user