Tests: Update photo fixtures
This commit is contained in:
parent
a3af05647b
commit
c13af0408d
|
@ -27,28 +27,28 @@ func (m PhotoMap) Pointer(name string) *Photo {
|
|||
}
|
||||
|
||||
var PhotoFixtures = PhotoMap{
|
||||
"19800101_000002_D640C559": { //JPG
|
||||
"19800101_000002_D640C559": { //JPG, Imported, No Geoinformation
|
||||
ID: 1000000,
|
||||
// UUID:
|
||||
PhotoUID: "pt9jtdre2lvl0yh7",
|
||||
TakenAt: time.Date(2008, 1, 1, 0, 0, 0, 0, time.UTC),
|
||||
TakenAtLocal: time.Date(2008, 1, 1, 0, 0, 0, 0, time.UTC),
|
||||
TakenAt: time.Date(2008, 7, 1, 10, 0, 0, 0, time.UTC),
|
||||
TakenAtLocal: time.Date(2008, 7, 1, 12, 0, 0, 0, time.UTC),
|
||||
TakenSrc: "meta",
|
||||
PhotoType: "image",
|
||||
TypeSrc: "",
|
||||
PhotoTitle: "",
|
||||
PhotoTitle: "Lake / 2790",
|
||||
TitleSrc: "",
|
||||
PhotoDescription: "photo description lake",
|
||||
DescriptionSrc: "",
|
||||
PhotoPath: "2790/02",
|
||||
PhotoName: "19800101_000002_D640C559",
|
||||
OriginalName: "",
|
||||
DescriptionSrc: "meta",
|
||||
PhotoPath: "2790/07",
|
||||
PhotoName: "27900704_070228_D6D51B6C",
|
||||
OriginalName: "Vacation/exampleFileNameOriginal",
|
||||
PhotoFavorite: false,
|
||||
//PhotoSingle
|
||||
PhotoPrivate: false,
|
||||
PhotoScan: false,
|
||||
PhotoPanorama: false,
|
||||
TimeZone: "",
|
||||
TimeZone: "Europe/Berlin",
|
||||
Place: &UnknownPlace,
|
||||
PlaceID: UnknownPlace.ID,
|
||||
PlaceSrc: "",
|
||||
|
@ -56,22 +56,22 @@ var PhotoFixtures = PhotoMap{
|
|||
CellID: UnknownLocation.ID,
|
||||
CellAccuracy: 0,
|
||||
PhotoAltitude: 0,
|
||||
PhotoLat: 48.519234,
|
||||
PhotoLng: 9.057997,
|
||||
PhotoLat: 0,
|
||||
PhotoLng: 0,
|
||||
PhotoCountry: UnknownPlace.CountryCode(),
|
||||
PhotoYear: 2790,
|
||||
PhotoMonth: 2,
|
||||
PhotoDay: 11,
|
||||
PhotoIso: 0,
|
||||
PhotoExposure: "",
|
||||
PhotoMonth: 7,
|
||||
PhotoDay: 4,
|
||||
PhotoIso: 200,
|
||||
PhotoExposure: "1/80",
|
||||
PhotoFNumber: 5,
|
||||
PhotoFocalLength: 0,
|
||||
PhotoQuality: 4,
|
||||
PhotoFocalLength: 50,
|
||||
PhotoQuality: 3,
|
||||
PhotoResolution: 2,
|
||||
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
||||
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
||||
CameraSerial: "",
|
||||
CameraSrc: "",
|
||||
CameraSrc: "meta",
|
||||
Lens: LensFixtures.Pointer("lens-f-380"),
|
||||
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
||||
Details: DetailsFixtures.Pointer("lake", 1000000),
|
||||
|
@ -91,7 +91,7 @@ var PhotoFixtures = PhotoMap{
|
|||
EditedAt: nil,
|
||||
CheckedAt: &checkedTime,
|
||||
DeletedAt: nil,
|
||||
PhotoColor: 14,
|
||||
PhotoColor: 9,
|
||||
PhotoStack: 0,
|
||||
PhotoFaces: 5,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue