Skip to content

Commit

Permalink
[FEAT]add route to get all stores by userId
Browse files Browse the repository at this point in the history
  • Loading branch information
nathsouzadev committed Apr 27, 2024
1 parent 5eff1e8 commit 627cf42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/service/store.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe('StoreService', () => {
.spyOn<any, any>(mockStoreRepository, 'get')
.mockImplementation(() => Promise.resolve(mockStore));

const store = await service.get(storeId, userId);
const store = await service.get(userId, storeId);
expect(store).toMatchObject(mockStore);
});

Expand Down

0 comments on commit 627cf42

Please sign in to comment.