Skip to content

Commit

Permalink
MID-8842 ninja - fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed Jul 21, 2023
1 parent 5598bea commit 9e7d751
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ public void test40TestRole() throws Exception {
public void test50SecurityPolicy() throws Exception {
testUpgradeValidator("security-policy.xml", result -> {
Assertions.assertThat(result.getItems())
.hasSize(0);
.hasSize(9);

Assertions.assertThat(result.hasChanges()).isFalse();
Assertions.assertThat(result.hasChanges()).isTrue();
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,6 @@
<userDashboardLink>
<targetUrl>https://google.com</targetUrl>
</userDashboardLink>
<accessRequest>
<roleCatalog>
<roleCatalogRef oid="0e5b7304-ea5c-438e-84d1-2b0ce40517ce" type="OrgType"/>
<collection>
<identifier>allRoles</identifier>
<collectionIdentifier>allRoles</collectionIdentifier>
</collection>
<collection>
<identifier>myCustomCollection</identifier>
<collectionIdentifier>myCustomCollection</collectionIdentifier>
</collection>
</roleCatalog>
</accessRequest>
</adminGuiConfiguration>

<defaultObjectPolicyConfiguration id="2">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,6 @@
</sms>-->
</notificationConfiguration>

<roleManagement>
<roleCatalogRef oid="0e5b7304-ea5c-438e-84d1-2b0ce40517ce" type="OrgType"/>
<roleCatalogCollections>
<collection>
<collectionUri>allRoles</collectionUri>
</collection>
<collection>
<collectionUri>myCustomCollection</collectionUri>
</collection>
</roleCatalogCollections>
</roleManagement>

<adminGuiConfiguration>
<userDashboardLink>
<targetUrl>https://google.com</targetUrl>
Expand Down

0 comments on commit 9e7d751

Please sign in to comment.