Fix test IdentityProviderTest#testSamlImportWithAnyEncryptionMethod
Closes #28577 Closes #28576 Closes #28575 Signed-off-by: rmartinc <rmartinc@redhat.com>
This commit is contained in:
parent
eb77220cca
commit
d31f128ca2
1 changed files with 2 additions and 3 deletions
|
@ -451,14 +451,13 @@ public class IdentityProviderTest extends AbstractAdminTest {
|
|||
.updateWith(r -> r.setSslRequired(SslRequired.ALL.name()))
|
||||
.update()
|
||||
) {
|
||||
assertAdminEvents.poll(); // realm update
|
||||
IdentityProviderRepresentation representation = createRep(UUID.randomUUID().toString(), "oidc");
|
||||
|
||||
representation.getConfig().put("clientId", "clientId");
|
||||
representation.getConfig().put("clientSecret", "some secret value");
|
||||
|
||||
try (Response response = realm.identityProviders().create(representation)) {
|
||||
assertEquals(Response.Status.CREATED.getStatusCode(), response.getStatus());
|
||||
}
|
||||
create(representation);
|
||||
|
||||
IdentityProviderResource resource = this.realm.identityProviders().get(representation.getAlias());
|
||||
representation = resource.toRepresentation();
|
||||
|
|
Loading…
Reference in a new issue