Skip to content

Commit 647b579

Browse files
committed
fix failing test
1 parent 51b5cbd commit 647b579

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/src/main/java/org/mobilitydata/gtfsvalidator/validator/FareProductDefaultRiderCategoriesValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public FareProductDefaultRiderCategoriesValidator(
3030

3131
@Override
3232
public boolean shouldCallValidate() {
33-
return !riderCategoriesTable.isMissingFile();
33+
return riderCategoriesTable != null && !riderCategoriesTable.isMissingFile();
3434
}
3535

3636
@Override

0 commit comments

Comments
 (0)