photoprism/internal/entity/fixtures.go
2020-05-13 19:46:49 +02:00

22 lines
546 B
Go

package entity
// CreateTestFixtures inserts all known entities into the database for testing.
func CreateTestFixtures() {
CreateLabelFixtures()
CreateCameraFixtures()
CreateCountryFixtures()
CreatePhotoFixtures()
CreateAlbumFixtures()
CreateAccountFixtures()
CreateLinkFixtures()
CreatePhotoAlbumFixtures()
CreateFileFixtures()
CreateKeywordFixtures()
CreatePhotoKeywordFixtures()
CreateCategoryFixtures()
CreateLocationFixtures()
CreatePlaceFixtures()
CreateFileShareFixtures()
CreateFileSyncFixtures()
CreateLensFixtures()
}