Skip to content

Commit 627cf42

Browse files
committed
[FEAT]add route to get all stores by userId
1 parent 5eff1e8 commit 627cf42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store/service/store.service.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ describe('StoreService', () => {
6868
.spyOn<any, any>(mockStoreRepository, 'get')
6969
.mockImplementation(() => Promise.resolve(mockStore));
7070

71-
const store = await service.get(storeId, userId);
71+
const store = await service.get(userId, storeId);
7272
expect(store).toMatchObject(mockStore);
7373
});
7474

0 commit comments

Comments
 (0)