Skip to content

Commit

Permalink
Fixing broken tests due to additional seed data
Browse files Browse the repository at this point in the history
  • Loading branch information
javaducky committed May 23, 2024
1 parent fde61c1 commit d556fa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/db/place_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func TestDatabase_GetPlaces(t *testing.T) {

places, err := placeDB.GetPlaces()
assert.NoError(t, err)
assert.Equal(t, 10, len(places))
assert.Equal(t, 20, len(places))
}

func TestDatabase_GetPlaceByID(t *testing.T) {
Expand All @@ -45,7 +45,7 @@ func TestDatabase_CreatePlace(t *testing.T) {
placeDB := setupDatabase(t)

newPlace := &model.Place{
ID: 20,
ID: 9999,
Name: "Kerid Crater",
Description: "Kerid Crater, Iceland",
Latitude: 64.04126,
Expand Down

0 comments on commit d556fa3

Please sign in to comment.