Tests: Update places fixtures
This commit is contained in:
parent
49c40b9d9a
commit
2f674c5bb7
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue