Parsing out cover images (#513)

- Fixing workflow
- Adding test case
This commit is contained in:
Robbie Davis 2021-08-21 14:44:35 -04:00 committed by GitHub
parent f64e93e29e
commit 8dda9220e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

View file

@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using API.Entities.Enums;
using API.Parser;
using Xunit;
@ -407,6 +407,10 @@ namespace API.Tests.Parser
FullFilePath = filepath, IsSpecial = false
});
// If an image is cover exclusively, ignore it
filepath = @"E:\Manga\Seraph of the End\cover.png";
expected.Add(filepath, null);
foreach (var file in expected.Keys)
{