Adapt importer test to use files from new smaller testdata
This commit is contained in:
parent
3a10911659
commit
f85b7904a3
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ func TestImporter_DestinationFilename(t *testing.T) {
|
|||
|
||||
importer := NewImporter(conf, indexer, converter)
|
||||
|
||||
rawFile, err := NewMediaFile(conf.ImportPath() + "/raw/IMG_1435.CR2")
|
||||
rawFile, err := NewMediaFile(conf.ImportPath() + "/raw/IMG_2567.CR2")
|
||||
|
||||
assert.Nil(t, err)
|
||||
|
||||
|
@ -42,7 +42,7 @@ func TestImporter_DestinationFilename(t *testing.T) {
|
|||
|
||||
// TODO: Check for errors!
|
||||
|
||||
assert.Equal(t, conf.OriginalsPath()+"/2018/02/20180204_180813_863A6248DCCA.cr2", filename)
|
||||
assert.Equal(t, conf.OriginalsPath()+"/2019/07/20190705_153230_6E16EB388AD2.cr2", filename)
|
||||
}
|
||||
|
||||
func TestImporter_ImportPhotosFromDirectory(t *testing.T) {
|
||||
|
|
Loading…
Reference in a new issue