Skip to content

Commit

Permalink
Fix fetch pet by city unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
gcrozariol committed Jun 27, 2023
1 parent ecb361f commit 38f1cc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/use-cases/fetch-pets-by-city.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe('Fetch pets by city use case', () => {
user.pets.push(petTwo)

const { pets } = await sut.execute({
city: 'Toronto',
cityId: 'Toronto',
})

expect(pets).toHaveLength(2)
Expand All @@ -71,7 +71,7 @@ describe('Fetch pets by city use case', () => {

it('should not return pets', async () => {
const { pets } = await sut.execute({
city: 'Toronto',
cityId: 'Toronto',
})

expect(pets).toHaveLength(0)
Expand Down

0 comments on commit 38f1cc4

Please sign in to comment.