photoprism/internal/entity/fixtures.go
2020-05-08 15:46:16 +02:00

21 lines
528 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()
CreatePhotoLabelFixtures()
CreateLocationFixtures()
CreatePlaceFixtures()
CreateDescriptionFixtures()
}