mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-05-25 00:52:33 -04:00
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:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user