Skip to content

Commit

Permalink
sqale: story/TestScience fixed incorrect UUIDs in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tonydamage committed Aug 30, 2021
1 parent 4e21db4 commit 9ad9527
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ public class TestScience extends AbstractStoryTest {
private static final String RESOURCE_OPENDJ_AD_SIMULATION_OID = "10000000-0000-0000-0000-0000000001ad";

private static final File RESOURCE_DUMMY_STATS_FILE = new File(TEST_DIR, "resource-dummy-stats.xml");
private static final String RESOURCE_DUMMY_STATS_OID = "10000000-0000-0000-0000-0000000005sa";
private static final String RESOURCE_DUMMY_STATS_OID = "10000000-2000-0000-0000-0000000005aa";
protected static final String RESOURCE_DUMMY_STATS_ID = "stats";

private static final File RESOURCE_DUMMY_UNIX_FILE = new File(TEST_DIR, "resource-dummy-unix.xml");
private static final String RESOURCE_DUMMY_UNIX_OID = "10000000-0000-0000-0000-0000000004ax";
private static final String RESOURCE_DUMMY_UNIX_OID = "10000000-1000-0000-0000-0000000004a0";
protected static final String RESOURCE_DUMMY_UNIX_ID = "unix";

private static final String DUMMY_ACCOUNT_ATTRIBUTE_UNIX_SHELL_NAME = "Shell";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
~ and European Union Public License. See LICENSE file for details.
-->

<resource oid="10000000-0000-0000-0000-0000000005sa"
<resource oid="10000000-2000-0000-0000-0000000005aa"
xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"
Expand Down Expand Up @@ -81,7 +81,7 @@
</outbound>
</attribute>
<dependency>
<resourceRef oid="10000000-0000-0000-0000-0000000004ax"/>
<resourceRef oid="10000000-1000-0000-0000-0000000004a0"/>
<strictness>strict</strictness>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
~ and European Union Public License. See LICENSE file for details.
-->

<resource oid="10000000-0000-0000-0000-0000000004ax"
<resource oid="10000000-1000-0000-0000-0000000004a0"
xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
</outbound>
</attribute>
<dependency>
<resourceRef oid="10000000-0000-0000-0000-0000000004ax"/>
<resourceRef oid="10000000-1000-0000-0000-0000000004a0"/>
<strictness>relaxed</strictness>
<order>10</order>
<forceLoad>true</forceLoad>
Expand Down
4 changes: 2 additions & 2 deletions testing/story/src/test/resources/science/role-statistics.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
</inducement>
<inducement id="2">
<construction>
<resourceRef oid="10000000-0000-0000-0000-0000000004ax" type="ResourceType"><!-- Resource Dummy Unix --></resourceRef>
<resourceRef oid="10000000-1000-0000-0000-0000000004a0" type="ResourceType"><!-- Resource Dummy Unix --></resourceRef>
</construction>
</inducement>
<inducement id="3">
<construction>
<resourceRef oid="10000000-0000-0000-0000-0000000005sa" type="ResourceType"><!-- Resource Dummy Stats --></resourceRef>
<resourceRef oid="10000000-2000-0000-0000-0000000005aa" type="ResourceType"><!-- Resource Dummy Stats --></resourceRef>
</construction>
</inducement>
</role>

0 comments on commit 9ad9527

Please sign in to comment.