From 91df90d7602e09899b5fb88fc1b6bffa4ceaf9f9 Mon Sep 17 00:00:00 2001 From: Sascha Hahne Date: Fri, 29 Oct 2021 18:10:20 +0200 Subject: [PATCH] Fix broken test (#231) --- .../suwayomi/tachidesk/manga/impl/CategoryMangaTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/test/kotlin/suwayomi/tachidesk/manga/impl/CategoryMangaTest.kt b/server/src/test/kotlin/suwayomi/tachidesk/manga/impl/CategoryMangaTest.kt index 33cd4f30..777d48c6 100644 --- a/server/src/test/kotlin/suwayomi/tachidesk/manga/impl/CategoryMangaTest.kt +++ b/server/src/test/kotlin/suwayomi/tachidesk/manga/impl/CategoryMangaTest.kt @@ -48,12 +48,12 @@ class CategoryMangaTest { createChapters(mangaId, 10, true) assertEquals(1, CategoryManga.getCategoryMangaList(0).size, "Default category should have one member") assertEquals( - 0, CategoryManga.getCategoryMangaList(0)[0].unread_count, + 0, CategoryManga.getCategoryMangaList(0)[0].unreadCount, "Manga should not have any unread chapters" ) createChapters(mangaId, 10, false) assertEquals( - 10, CategoryManga.getCategoryMangaList(0)[0].unread_count, + 10, CategoryManga.getCategoryMangaList(0)[0].unreadCount, "Manga should have unread chapters" ) @@ -69,7 +69,7 @@ class CategoryMangaTest { "Manga should been moved" ) assertEquals( - 10, CategoryManga.getCategoryMangaList(1)[0].unread_count, + 10, CategoryManga.getCategoryMangaList(1)[0].unreadCount, "Manga should keep it's unread count in moved category" ) assertEquals(