Skip to content

Commit

Permalink
Merge pull request #21391 from malithie/master
Browse files Browse the repository at this point in the history
Ignore authentication action type in api tests.
  • Loading branch information
malithie authored Oct 18, 2024
2 parents 6fc533c + 8be1d53 commit e5a6905
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public void testGetActionByActionType() {
}

@Test(dependsOnMethods = {"testGetActionByActionType"})
public void testGetActions() {
public void testGetActionTypes() {

Response responseOfGet = getResponseOfGet(ACTION_MANAGEMENT_API_BASE_PATH + TYPES_API_PATH);
responseOfGet.then()
Expand All @@ -148,7 +148,7 @@ public void testGetActions() {
.body( "find { it.type == '" + PRE_ISSUE_ACCESS_TOKEN_ACTION_TYPE + "' }.self", notNullValue());
}

@Test(dependsOnMethods = {"testGetActions"})
@Test(dependsOnMethods = {"testGetActionTypes"})
public void testUpdateAction() {

// Update all the attributes of the action.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ public class ActionsTestBase extends RESTAPIServerTestBase {
NOT_IMPLEMENTED_ACTION_TYPE_PATHS.add("/preUpdatePassword");
NOT_IMPLEMENTED_ACTION_TYPE_PATHS.add("/preUpdateProfile");
NOT_IMPLEMENTED_ACTION_TYPE_PATHS.add("/preRegistration");
NOT_IMPLEMENTED_ACTION_TYPE_PATHS.add("/authentication");

String API_PACKAGE_NAME = "org.wso2.carbon.identity.api.server.action.management.v1";
try {
Expand Down

0 comments on commit e5a6905

Please sign in to comment.