Skip to content

Commit

Permalink
Fix FeedDAOTest
Browse files Browse the repository at this point in the history
  • Loading branch information
Stypox committed Dec 29, 2023
1 parent 845e72b commit 9220e32
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,13 @@ class FeedDAOTest {

private fun assertEqual(streams: List<StreamWithState>?, allowedStreams: List<StreamEntity>) {
assertNotNull(streams)
assertEquals(allowedStreams, streams!!.stream().map { it.stream }.toList().sortedBy { it.uid })
assertEquals(
allowedStreams,
streams!!
.map { it.stream }
.sortedBy { it.uid }
.toList()
)
}

private fun setupUnlinkDelete(time: String) {
Expand Down

0 comments on commit 9220e32

Please sign in to comment.