From 4d7584a48611869bc3dccf9a10f80e93806764af Mon Sep 17 00:00:00 2001 From: theresa Date: Tue, 29 Mar 2022 11:21:45 +0200 Subject: [PATCH] Tests: Add fixtures --- internal/entity/photo_album_fixtures.go | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/internal/entity/photo_album_fixtures.go b/internal/entity/photo_album_fixtures.go index a602ab22d..47d77839a 100644 --- a/internal/entity/photo_album_fixtures.go +++ b/internal/entity/photo_album_fixtures.go @@ -307,6 +307,28 @@ var PhotoAlbumFixtures = PhotoAlbumMap{ Photo: PhotoFixtures.Pointer("Photo03"), Album: AlbumFixtures.Pointer("route-66"), }, + "27": { + PhotoUID: "pt9jtdre2lvl0yh9", + AlbumUID: "at1lxuqipotaab26", + Hidden: false, + Missing: false, + Order: 0, + CreatedAt: time.Date(2020, 2, 6, 2, 6, 51, 0, time.UTC), + UpdatedAt: time.Date(2020, 4, 28, 14, 6, 0, 0, time.UTC), + Photo: PhotoFixtures.Pointer("Photo02"), + Album: AlbumFixtures.Pointer("father's-day"), + }, + "28": { + PhotoUID: "pt9jtdre2lvl0yh9", + AlbumUID: "at1lxuqipotaab24", + Hidden: false, + Missing: false, + Order: 0, + CreatedAt: time.Date(2020, 2, 6, 2, 6, 51, 0, time.UTC), + UpdatedAt: time.Date(2020, 4, 28, 14, 6, 0, 0, time.UTC), + Photo: PhotoFixtures.Pointer("Photo02"), + Album: AlbumFixtures.Pointer("light&"), + }, } // CreatePhotoAlbumFixtures inserts known entities into the database for testing.