mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 01:31:39 -05:00
Fix immich spec
This commit is contained in:
parent
0f3268e6b6
commit
e688f8837f
1 changed files with 6 additions and 15 deletions
|
|
@ -10,22 +10,13 @@ RSpec.describe Immich::ImportGeodata do
|
|||
create(:user, settings: { 'immich_url' => 'http://immich.app', 'immich_api_key' => '123456' })
|
||||
end
|
||||
let(:immich_data) do
|
||||
[
|
||||
{
|
||||
"exifInfo": {
|
||||
"dateTimeOriginal": '2022-12-31T23:17:06.170Z',
|
||||
"latitude": 52.0000,
|
||||
"longitude": 13.0000
|
||||
}
|
||||
},
|
||||
{
|
||||
"exifInfo": {
|
||||
"dateTimeOriginal": '2022-12-31T23:21:53.140Z',
|
||||
"latitude": 52.0000,
|
||||
"longitude": 13.0000
|
||||
}
|
||||
{
|
||||
"exifInfo": {
|
||||
"dateTimeOriginal": '2022-12-31T23:21:53.140Z',
|
||||
"latitude": 52.0000,
|
||||
"longitude": 13.0000
|
||||
}
|
||||
].to_json
|
||||
}.to_json
|
||||
end
|
||||
|
||||
context 'when user has immich_url and immich_api_key' do
|
||||
|
|
|
|||
Loading…
Reference in a new issue