Skip to content

Commit 10c8686

Browse files
fix unit test
1 parent 73f3ca3 commit 10c8686

File tree

1 file changed

+1
-2
lines changed
  • components/org.wso2.carbon.identity.oauth.dcr/src/test/java/org/wso2/carbon/identity/oauth/dcr/service

1 file changed

+1
-2
lines changed

components/org.wso2.carbon.identity.oauth.dcr/src/test/java/org/wso2/carbon/identity/oauth/dcr/service/DCRMServiceTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,12 +1167,11 @@ public void testAddSPProperties() throws Exception {
11671167

11681168
ServiceProvider serviceProvider = new ServiceProvider();
11691169
Map<String, Object> spProperties = new HashMap<>();
1170-
spProperties.put(OAuthConstants.IS_FAPI_CONFORMANT_APP, true);
11711170
spProperties.put(OAuthConstants.IS_THIRD_PARTY_APP, true);
11721171
invokeMethod(dcrmService, "addSPProperties", spProperties, serviceProvider);
11731172
ServiceProviderProperty[] serviceProviderProperties = serviceProvider.getSpProperties();
11741173
boolean propertyExists = Arrays.stream(serviceProviderProperties)
1175-
.anyMatch(property -> property.getName().equals(OAuthConstants.IS_FAPI_CONFORMANT_APP));
1174+
.anyMatch(property -> property.getName().equals(OAuthConstants.IS_THIRD_PARTY_APP));
11761175
assertTrue(propertyExists);
11771176
}
11781177

0 commit comments

Comments
 (0)