From dbcf7923a90576918c65e7df7971e6dced9f7b5a Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Wed, 22 Dec 2021 12:01:37 +0800 Subject: [PATCH] refactor: use property syntax --- .../komga/infrastructure/jooq/ReadListDaoTest.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/komga/src/test/kotlin/org/gotson/komga/infrastructure/jooq/ReadListDaoTest.kt b/komga/src/test/kotlin/org/gotson/komga/infrastructure/jooq/ReadListDaoTest.kt index f2540ae0d..575e3c237 100644 --- a/komga/src/test/kotlin/org/gotson/komga/infrastructure/jooq/ReadListDaoTest.kt +++ b/komga/src/test/kotlin/org/gotson/komga/infrastructure/jooq/ReadListDaoTest.kt @@ -193,7 +193,7 @@ class ReadListDaoTest( assertThat(bookIds.values) .hasSize(1) .containsExactly(bookLibrary1.id) - assertThat(filtered).isTrue() + assertThat(filtered).isTrue } assertThat(foundLibrary1Unfiltered).hasSize(2) @@ -202,7 +202,7 @@ class ReadListDaoTest( assertThat(bookIds.values) .hasSize(2) .containsExactly(bookLibrary1.id, bookLibrary2.id) - assertThat(filtered).isFalse() + assertThat(filtered).isFalse } assertThat(foundLibrary2Filtered).hasSize(2) @@ -211,7 +211,7 @@ class ReadListDaoTest( assertThat(bookIds.values) .hasSize(1) .containsExactly(bookLibrary2.id) - assertThat(filtered).isTrue() + assertThat(filtered).isTrue } assertThat(foundLibrary2Unfiltered).hasSize(2) @@ -220,7 +220,7 @@ class ReadListDaoTest( assertThat(bookIds.values) .hasSize(2) .containsExactly(bookLibrary1.id, bookLibrary2.id) - assertThat(filtered).isFalse() + assertThat(filtered).isFalse } assertThat(foundBothUnfiltered).hasSize(3) @@ -229,7 +229,7 @@ class ReadListDaoTest( assertThat(bookIds.values) .hasSize(2) .containsExactly(bookLibrary1.id, bookLibrary2.id) - assertThat(filtered).isFalse() + assertThat(filtered).isFalse } } }