photoprism/internal/entity/fixtures.go
Michael Mayer eaae910014 Backend: Refactor entity tests
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-30 14:32:48 +02:00

11 lines
200 B
Go

package entity
import (
"github.com/jinzhu/gorm"
)
// CreateTestFixtures inserts all known entities into the database for testing.
func CreateTestFixtures(db *gorm.DB) {
CreateLabelFixtures(db)
}