Bugfix/series cover not setting (#527)

* Fixed an issue where cover generation was failing on first add due to not checking correctly on First Volume.
This commit is contained in:
Joseph Milazzo 2021-08-27 10:48:55 -07:00 committed by GitHub
parent b09406eecf
commit 6edf3b083b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 7 deletions

View file

@ -36,6 +36,13 @@ namespace API.Tests.Services
}, false, false));
}
[Fact]
public void ShouldUpdateCoverImage_OnFirstRunSeries()
{
// Represents first run
Assert.True(MetadataService.ShouldUpdateCoverImage(null,null, false, false));
}
[Fact]
public void ShouldUpdateCoverImage_OnSecondRun_FileModified()
{