From 5a41a98ad30c2d6ab5a8d655218b38fe026f06ac Mon Sep 17 00:00:00 2001 From: Thisara-Welmilla Date: Tue, 21 Jan 2025 08:16:02 +0530 Subject: [PATCH] Fix integration tests. --- .../integration/test/rest/api/server/idp/v1/IdPFailureTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/rest/api/server/idp/v1/IdPFailureTest.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/rest/api/server/idp/v1/IdPFailureTest.java index b8eb488e12..083d836979 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/rest/api/server/idp/v1/IdPFailureTest.java +++ b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/rest/api/server/idp/v1/IdPFailureTest.java @@ -86,7 +86,6 @@ public void init() throws IOException { super.testInit(API_VERSION, swaggerDefinition, tenant); idpCreatePayload = readResource("add-idp-with-custom-fed-auth.json"); - createUserDefinedLocalAuthenticator(); } @AfterClass(alwaysRun = true) @@ -247,6 +246,7 @@ public void testAddIdPWithUserDefinedAuthenticatorWhenEndpointUriIsEmpty() throw @Test public void testAddIdPWithUserDefinedAuthenticatorWithExistingAuthName() throws IOException { + createUserDefinedLocalAuthenticator(); UserDefinedAuthenticatorPayload userDefAuthPayload = createUserDefinedAuthenticatorPayload( CONFLICTING_AUTH_NAME, "https://abc.com/authenticate",