-class BookmarkAjaxPageTest : JsonPageTest(::BookmarkAjaxPage) {
-
- @Test
- fun `page returns correct path`() {
- assertThat(page.path, equalTo("bookmark.ajax"))
- }
-
- @Test
- fun `page does not require login`() {
- assertThat(page.requiresLogin(), equalTo(false))
- }
+class BookmarkAjaxPageTest : JsonPageTest("bookmark.ajax", requiresLogin = false, pageSupplier = ::BookmarkAjaxPage) {