Skip to content

Commit 483ed57

Browse files
committed
Tests: person popularity can be 0.0
1 parent 72bb966 commit 483ed57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/uwetrottmann/tmdb2/assertions/PersonAssertions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static void assertBasePerson(BasePerson person, Boolean extensive) {
3535

3636
assertThat(person.adult).isNotNull();
3737
if (person.popularity != null) {
38-
assertThat(person.popularity).isPositive();
38+
assertThat(person.popularity).isGreaterThanOrEqualTo(0.0);
3939
}
4040
try {
4141
Person p = (Person) person;

0 commit comments

Comments
 (0)