Skip to content

Commit

Permalink
feat: remove useless code
Browse files Browse the repository at this point in the history
* The account choose is not enabled for this test, so the conditional logic makes this method call do nothing useful.
  • Loading branch information
swalchemist committed Sep 6, 2023
1 parent 30566e1 commit 2855f20
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ public void testSimpleSamlPhpLogin() throws Exception {
.login(testAccounts.getUserName(), testAccounts.getPassword());
Long afterTest = System.currentTimeMillis();

IntegrationTestUtils.validateAccountChooserCookie(baseUrl, webDriver, IdentityZoneHolder.get());
String zoneAdminToken = IntegrationTestUtils.getClientCredentialsToken(serverRunning, "admin", "adminsecret");
ScimUser user = IntegrationTestUtils.getUser(zoneAdminToken, baseUrl, SAML_ORIGIN, testAccounts.getEmail());
IntegrationTestUtils.validateUserLastLogon(user, beforeTest, afterTest);
Expand Down

0 comments on commit 2855f20

Please sign in to comment.