Skip to content

Commit

Permalink
CLDR-17493 fix cldr-apps tests to skip if no database (#3600)
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 authored Apr 2, 2024
1 parent 9cb35de commit c06479d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ public void TestCanSetUserLevel() throws SQLException {
* @throws SQLException
*/
public void TestOrgList() throws SQLException {
if (TestAll.skipIfNoDb()) {
return;
}
TestSTFactory.getFactory(); // to setup the User Regitry.
for (String name : UserRegistry.getOrgList()) {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public class TestSTFactory {

@BeforeAll
public static void setup() {
if (TestAll.skipIfNoDb()) return;
TestAll.setupTestDb();
}

Expand Down

0 comments on commit c06479d

Please sign in to comment.