Tests: Update places fixtures

This commit is contained in:
theresa 2021-08-16 15:18:30 +02:00
parent 49c40b9d9a
commit 2f674c5bb7
2 changed files with 21 additions and 0 deletions

View file

@ -103,6 +103,15 @@ var CellFixtures = CellMap{
CreatedAt: Timestamp(),
UpdatedAt: Timestamp(),
},
"Neckarbrücke": {
ID: s2.TokenPrefix + "1ef744d1e284",
PlaceID: PlaceFixtures.Get("Germany").ID,
Place: PlaceFixtures.Pointer("Germany"),
CellName: "Neckarbrücke",
CellCategory: "",
CreatedAt: Timestamp(),
UpdatedAt: Timestamp(),
},
}
// CreateCellFixtures inserts known entities into the database for testing.

View file

@ -107,6 +107,18 @@ var PlaceFixtures = PlacesMap{
CreatedAt: Timestamp(),
UpdatedAt: Timestamp(),
},
"Germany": {
ID: s2.TokenPrefix + "1ef744d1e285",
PlaceLabel: "Germany",
PlaceCity: "",
PlaceState: "",
PlaceCountry: "de",
PlaceKeywords: "",
PlaceFavorite: false,
PhotoCount: 1,
CreatedAt: Timestamp(),
UpdatedAt: Timestamp(),
},
}
// CreatePlaceFixtures inserts known entities into the database for testing.