mirror of
https://github.com/gotson/komga.git
synced 2025-01-09 04:08:00 +08:00
test: use property access syntax
This commit is contained in:
parent
2a5ce25193
commit
d449ef1a43
@ -179,7 +179,7 @@ class SeriesCollectionDaoTest(
|
||||
assertThat(seriesIds)
|
||||
.hasSize(1)
|
||||
.containsExactly(seriesLibrary1.id)
|
||||
assertThat(filtered).isTrue()
|
||||
assertThat(filtered).isTrue
|
||||
}
|
||||
|
||||
assertThat(foundLibrary1Unfiltered).hasSize(2)
|
||||
@ -188,7 +188,7 @@ class SeriesCollectionDaoTest(
|
||||
assertThat(seriesIds)
|
||||
.hasSize(2)
|
||||
.containsExactly(seriesLibrary1.id, seriesLibrary2.id)
|
||||
assertThat(filtered).isFalse()
|
||||
assertThat(filtered).isFalse
|
||||
}
|
||||
|
||||
assertThat(foundLibrary2Filtered).hasSize(2)
|
||||
@ -197,7 +197,7 @@ class SeriesCollectionDaoTest(
|
||||
assertThat(seriesIds)
|
||||
.hasSize(1)
|
||||
.containsExactly(seriesLibrary2.id)
|
||||
assertThat(filtered).isTrue()
|
||||
assertThat(filtered).isTrue
|
||||
}
|
||||
|
||||
assertThat(foundLibrary2Unfiltered).hasSize(2)
|
||||
@ -206,7 +206,7 @@ class SeriesCollectionDaoTest(
|
||||
assertThat(seriesIds)
|
||||
.hasSize(2)
|
||||
.containsExactly(seriesLibrary1.id, seriesLibrary2.id)
|
||||
assertThat(filtered).isFalse()
|
||||
assertThat(filtered).isFalse
|
||||
}
|
||||
|
||||
assertThat(foundBothUnfiltered).hasSize(3)
|
||||
@ -215,7 +215,7 @@ class SeriesCollectionDaoTest(
|
||||
assertThat(seriesIds)
|
||||
.hasSize(2)
|
||||
.containsExactly(seriesLibrary1.id, seriesLibrary2.id)
|
||||
assertThat(filtered).isFalse()
|
||||
assertThat(filtered).isFalse
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user