photoprism/internal/entity/fixtures.go
2020-05-01 14:18:51 +02:00

18 lines
450 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()
}