mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
Tests: Update mediafile_heic_test.go after fix in "internal/meta" #5330
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
e693fd668f
commit
c80cf0779f
1 changed files with 4 additions and 4 deletions
|
|
@ -56,8 +56,8 @@ func TestMediaFile_Heic(t *testing.T) {
|
|||
assert.Nil(t, err)
|
||||
|
||||
assert.Equal(t, "", jpegInfo.DocumentID)
|
||||
assert.Equal(t, "2018-09-10 03:16:13 +0000 UTC", jpegInfo.TakenAt.String())
|
||||
assert.Equal(t, "2018-09-10 12:16:13 +0000 UTC", jpegInfo.TakenAtLocal.String())
|
||||
assert.Equal(t, "2018-09-10 03:16:13.023 +0000 UTC", jpegInfo.TakenAt.String())
|
||||
assert.Equal(t, "2018-09-10 12:16:13.023 +0000 UTC", jpegInfo.TakenAtLocal.String())
|
||||
// KNOWN ISSUE: Orientation 6 would be correct instead (or the image should already be rotated),
|
||||
// see https://github.com/strukturag/libheif/issues/227#issuecomment-1532842570
|
||||
assert.Equal(t, 1, jpegInfo.Orientation)
|
||||
|
|
@ -119,8 +119,8 @@ func TestMediaFile_Heic(t *testing.T) {
|
|||
assert.Nil(t, err)
|
||||
|
||||
assert.Equal(t, "", jpegInfo.DocumentID)
|
||||
assert.Equal(t, "2023-10-31 10:44:43 +0000 UTC", jpegInfo.TakenAt.String())
|
||||
assert.Equal(t, "2023-10-31 11:44:43 +0000 UTC", jpegInfo.TakenAtLocal.String())
|
||||
assert.Equal(t, "2023-10-31 10:44:43.432 +0000 UTC", jpegInfo.TakenAt.String())
|
||||
assert.Equal(t, "2023-10-31 11:44:43.432 +0000 UTC", jpegInfo.TakenAtLocal.String())
|
||||
assert.Equal(t, 1, jpegInfo.Orientation)
|
||||
assert.Equal(t, "iPhone 15 Pro", jpegInfo.CameraModel)
|
||||
assert.Equal(t, "Apple", jpegInfo.CameraMake)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue