Replace Preferences with Kotlin version
[Sone.git] / src / test / kotlin / net / pterodactylus / sone / web / pages / BookmarksPageTest.kt
index a488e25..2186f61 100644 (file)
@@ -30,7 +30,7 @@ class BookmarksPageTest: WebPageTest(::BookmarksPage) {
        @Before
        fun setupBookmarkedPostsAndPagination() {
                whenever(core.bookmarkedPosts).thenReturn(setOf(post1, post2, post3))
-               core.preferences.postsPerPage = 5
+               core.preferences.newPostsPerPage = 5
        }
 
        @Test