Skip to content

Commit

Permalink
fix: cicd tests (#1025)
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc authored Aug 8, 2024
1 parent bbc0984 commit 796b9de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/io/supertokens/test/StorageTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ public void storageDeadAndAlive() throws InterruptedException, IOException, Http
fail();
} catch (HttpResponseException ex) {
assertEquals(ex.statusCode, 500);
assertEquals(ex.getMessage(), "Http error. Status Code: 500. Message: java.sql.SQLException: Storage layer disabled");
assertTrue(ex.getMessage().contains("Storage layer disabled"));
}

storage.setStorageLayerEnabled(true);
Expand All @@ -765,7 +765,7 @@ public void storageDeadAndAlive() throws InterruptedException, IOException, Http
fail();
} catch (HttpResponseException ex) {
assertEquals(ex.statusCode, 500);
assertEquals(ex.getMessage(), "Http error. Status Code: 500. Message: java.sql.SQLException: Storage layer disabled");
assertTrue(ex.getMessage().contains("Storage layer disabled"));
}

storage.setStorageLayerEnabled(true);
Expand Down

0 comments on commit 796b9de

Please sign in to comment.