People: Add face + subject fixtures #22
This commit is contained in:
parent
c51452a90a
commit
01742c13ea
2 changed files with 29 additions and 0 deletions
File diff suppressed because one or more lines are too long
|
@ -70,6 +70,23 @@ var SubjectFixtures = SubjectMap{
|
|||
UpdatedAt: Timestamp(),
|
||||
DeletedAt: nil,
|
||||
},
|
||||
"jane-doe": Subject{
|
||||
SubjectUID: "jqy1y111h1njaaab",
|
||||
SubjectSlug: "jane-doe",
|
||||
SubjectName: "Jane Doe",
|
||||
SubjectType: SubjectPerson,
|
||||
SubjectSrc: SrcMarker,
|
||||
Favorite: false,
|
||||
Private: false,
|
||||
Hidden: false,
|
||||
SubjectDescription: "",
|
||||
SubjectNotes: "",
|
||||
MetadataJSON: []byte(""),
|
||||
PhotoCount: 3,
|
||||
CreatedAt: Timestamp(),
|
||||
UpdatedAt: Timestamp(),
|
||||
DeletedAt: nil,
|
||||
},
|
||||
}
|
||||
|
||||
// CreateSubjectFixtures inserts known entities into the database for testing.
|
||||
|
|
Loading…
Reference in a new issue