Skip to content

Commit

Permalink
test correction
Browse files Browse the repository at this point in the history
  • Loading branch information
cgeorgilakis-grnet committed Oct 14, 2024
1 parent 9349c93 commit 15b4234
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,7 @@ public void handleRequest(HttpServerExchange exchange) throws Exception {
httpService.start();

try (AutoCloseable c = new RealmAttributeUpdater(realmsResouce().realm(REALM_NAME))
.updateWith(r -> r.setAutoUpdatedIdPsLastRefreshTime(Long.valueOf(60)))
.updateWith(r -> r.setAutoUpdatedIdPsInterval(Long.valueOf(60)))
.update()
) {
assertAdminEvents.poll(); // realm update
Expand All @@ -1341,7 +1341,7 @@ public void handleRequest(HttpServerExchange exchange) throws Exception {
Assert.assertNotNull("internalId", rep.getInternalId());
Assert.assertEquals("alias", "auto-saml", rep.getAlias());
Assert.assertEquals("providerId", "saml", rep.getProviderId());
Assert.assertEquals("enabled", false, rep.isEnabled());
Assert.assertEquals("enabled", true, rep.isEnabled());
Assert.assertEquals("firstBrokerLoginFlowAlias", "first broker login", rep.getFirstBrokerLoginFlowAlias());
assertSamlConfigAutoUpdated(rep.getConfig(), false);

Expand Down Expand Up @@ -1406,7 +1406,7 @@ public void handleRequest(HttpServerExchange exchange) throws Exception {
httpService.start();

try (AutoCloseable c = new RealmAttributeUpdater(realmsResouce().realm(REALM_NAME))
.updateWith(r -> r.setAutoUpdatedIdPsLastRefreshTime(Long.valueOf(60)))
.updateWith(r -> r.setAutoUpdatedIdPsInterval(Long.valueOf(60)))
.update()
) {
assertAdminEvents.poll(); // realm update
Expand Down

0 comments on commit 15b4234

Please sign in to comment.