Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2014-05-28 14:37:53 -0400
committerDonald Dunne2014-06-02 14:50:51 -0400
commit4dc723a175e57ceed0cf183822b4246b5cd45254 (patch)
tree976c2485418e0a4d53f1ea23f95989869bce542f /plugins/org.eclipse.osee.ats.client.integration.tests
parent6ee7512b783106e243a740cde0fab375a6bf5c07 (diff)
downloadorg.eclipse.osee-4dc723a175e57ceed0cf183822b4246b5cd45254.tar.gz
org.eclipse.osee-4dc723a175e57ceed0cf183822b4246b5cd45254.tar.xz
org.eclipse.osee-4dc723a175e57ceed0cf183822b4246b5cd45254.zip
feature[ats_ATS34674]: Allow custom ATS Id configuration by team
Diffstat (limited to 'plugins/org.eclipse.osee.ats.client.integration.tests')
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenChangeReportByIdActionTest.java3
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/AtsTestUtilTest.java2
2 files changed, 4 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenChangeReportByIdActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenChangeReportByIdActionTest.java
index 60653b3334..62f30c0b61 100644
--- a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenChangeReportByIdActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenChangeReportByIdActionTest.java
@@ -31,7 +31,8 @@ public class OpenChangeReportByIdActionTest extends AbstractAtsActionRunTest {
Assert.assertTrue(result.getText(), result.isTrue());
OpenChangeReportByIdAction action = new OpenChangeReportByIdAction();
- action.setOverrideId(AtsTestUtil.getTeamWf().getAtsId());
+ String atsId = AtsTestUtil.getTeamWf().getAtsId();
+ action.setOverrideId(atsId);
action.setPend(true);
return action;
}
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/AtsTestUtilTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/AtsTestUtilTest.java
index 96e4b30252..d27c4629d2 100644
--- a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/AtsTestUtilTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/AtsTestUtilTest.java
@@ -52,6 +52,8 @@ public class AtsTestUtilTest extends AtsTestUtil {
Assert.assertNotNull(AtsTestUtil.getTeamWf());
Assert.assertNotNull(AtsTestUtil.getTeamWf().getStateDefinition());
+ String atsId = AtsTestUtil.getTeamWf().getAtsId();
+ Assert.assertTrue(atsId.startsWith("ATS"));
AtsTestUtil.cleanup();

Back to the top