mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-15 00:34:12 -05:00
[skip ci] Formatting
This commit is contained in:
@@ -63,16 +63,16 @@ internal class UpdateControllerTest : ApplicationTest() {
|
||||
assertEquals(3, updater.status.value.numberOfJobs)
|
||||
}
|
||||
|
||||
private fun createLibraryManga(_title: String): Int {
|
||||
return transaction {
|
||||
MangaTable.insertAndGetId {
|
||||
it[title] = _title
|
||||
it[url] = _title
|
||||
it[sourceReference] = 1
|
||||
it[inLibrary] = true
|
||||
}.value
|
||||
private fun createLibraryManga(_title: String): Int =
|
||||
transaction {
|
||||
MangaTable
|
||||
.insertAndGetId {
|
||||
it[title] = _title
|
||||
it[url] = _title
|
||||
it[sourceReference] = 1
|
||||
it[inLibrary] = true
|
||||
}.value
|
||||
}
|
||||
}
|
||||
|
||||
@AfterEach
|
||||
internal fun tearDown() {
|
||||
|
||||
Reference in New Issue
Block a user