Skip to content

Commit

Permalink
fix: none CI Server and no fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
BeckerFrank committed Aug 11, 2024
1 parent 0940b27 commit e1658ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public <T> List<T> discover(Class<T> clazz, String fixtureType, boolean defaultO
defaultOnly, exception);
}

if (fixtures.isEmpty()) {
if (fixtures.isEmpty() && CommonTestUtil.runOnCIServerTestsOnly()) {
throw new RuntimeException(
NLS.bind("Failed to discover any fixtures for kind {0} with defaultOnly={1} ({2} and {3})",
new Object[] { fixtureType, Boolean.toString(defaultOnly), URL_SERVICES_LOCALHOST,
Expand Down

0 comments on commit e1658ee

Please sign in to comment.