Fix broken test (#231)

This commit is contained in:
Sascha Hahne
2021-10-29 18:10:20 +02:00
committed by GitHub
parent 1ee37da720
commit 91df90d760
@@ -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(