fix(api): refresh hottest posts golden snapshot

This commit is contained in:
Harsh Shandilya 2025-02-14 03:21:26 +05:30
parent 38830cee53
commit 94ccda61f6
2 changed files with 2 additions and 2 deletions

View file

@ -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