Skip to content

Commit

Permalink
refactor: instantiate SCIMRoleManagerV2 in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BimsaraBodaragama committed Jul 5, 2024
1 parent 65b7b99 commit e15eeb8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class SCIMRoleManagerV2Test extends PowerMockTestCase {

@Mock
private RoleManagementService roleManagementService;
@Mock

private SCIMRoleManagerV2 scimRoleManagerV2;

@BeforeClass
Expand All @@ -73,8 +73,8 @@ public void setUpClass() {
@BeforeMethod
public void setUpMethod() {

scimRoleManagerV2 = PowerMockito.spy(new SCIMRoleManagerV2(roleManagementService, SAMPLE_TENANT_DOMAIN));
PowerMockito.mockStatic(IdentityUtil.class);
scimRoleManagerV2 = new SCIMRoleManagerV2(roleManagementService, SAMPLE_TENANT_DOMAIN);
}

@DataProvider(name = "scimOperations")
Expand Down

0 comments on commit e15eeb8

Please sign in to comment.