mirror of
https://github.com/gotson/komga.git
synced 2025-12-07 17:13:59 +01:00
test: fix parameterized test
This commit is contained in:
parent
01ef2b056f
commit
62d193db38
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ class BookAnalyzerTest(
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
fun `given rar4 solid or encrypted archive when analyzing then media status is UNSUPPORTED`(fileName: String) {
|
fun `given rar4 solid or encrypted archive when analyzing then media status is UNSUPPORTED`(fileName: String) {
|
||||||
val file = ClassPathResource("archives/rar4-solid.rar")
|
val file = ClassPathResource("archives/$fileName")
|
||||||
val book = Book("book", file.url, LocalDateTime.now())
|
val book = Book("book", file.url, LocalDateTime.now())
|
||||||
|
|
||||||
val media = bookAnalyzer.analyze(book, false)
|
val media = bookAnalyzer.analyze(book, false)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue