mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 14:07:05 +05:30
fix(api): refresh hottest posts golden snapshot
This commit is contained in:
parent
38830cee53
commit
94ccda61f6
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ class ApiTest {
|
|||
val posts = api.getHottestPosts(1)
|
||||
assertIs<Success<List<LobstersPost>>>(posts)
|
||||
val commentsOnlyPosts = posts.value.asSequence().filter { it.url.isEmpty() }.toSet()
|
||||
assertThat(commentsOnlyPosts).hasSize(1)
|
||||
assertThat(commentsOnlyPosts).hasSize(0)
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue