mirror of
https://github.com/gotson/komga.git
synced 2025-12-28 11:24:59 +01:00
test: fix BookImporterTest.kt
This commit is contained in:
parent
a707fd3594
commit
dc5ab0ca08
1 changed files with 3 additions and 3 deletions
|
|
@ -89,7 +89,7 @@ class BookImporterTest(
|
|||
}
|
||||
|
||||
// then
|
||||
assertThat(thrown).isInstanceOf(FileNotFoundException::class.java)
|
||||
assertThat(thrown).hasCauseInstanceOf(FileNotFoundException::class.java)
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
@ -109,7 +109,7 @@ class BookImporterTest(
|
|||
}
|
||||
|
||||
// then
|
||||
assertThat(thrown).isInstanceOf(FileAlreadyExistsException::class.java)
|
||||
assertThat(thrown).hasCauseInstanceOf(FileAlreadyExistsException::class.java)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -130,7 +130,7 @@ class BookImporterTest(
|
|||
}
|
||||
|
||||
// then
|
||||
assertThat(thrown).isInstanceOf(FileAlreadyExistsException::class.java)
|
||||
assertThat(thrown).hasCauseInstanceOf(FileAlreadyExistsException::class.java)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue