photoprism/internal/entity/fixtures.go

19 lines
450 B
Go
Raw Normal View History

package entity
// CreateTestFixtures inserts all known entities into the database for testing.
2020-05-01 13:12:22 +02:00
func CreateTestFixtures() {
CreateLabelFixtures()
CreateCameraFixtures()
CreateCountryFixtures()
CreatePhotoFixtures()
CreateAlbumFixtures()
CreateAccountFixtures()
CreateLinkFixtures()
CreatePhotoAlbumFixtures()
CreateFileFixtures()
CreateKeywordFixtures()
CreatePhotoKeywordFixtures()
CreateCategoryFixtures()
CreatePhotoLabelFixtures()
}