Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2014-11-12 03:38:40 +0000
committerdonald.g.dunne2014-11-12 19:46:30 +0000
commit5a92b69fdc83b5fa8202bc5e5e1795acdfd9b68d (patch)
treeee637bb092741e8459136a795bae19b40b676c3f /plugins/org.eclipse.osee.ats.core.test
parent67af491cf4c6861d1d1e24d0af85debf8f7b0919 (diff)
downloadorg.eclipse.osee-5a92b69fdc83b5fa8202bc5e5e1795acdfd9b68d.tar.gz
org.eclipse.osee-5a92b69fdc83b5fa8202bc5e5e1795acdfd9b68d.tar.xz
org.eclipse.osee-5a92b69fdc83b5fa8202bc5e5e1795acdfd9b68d.zip
bug[ats_ATS138489]: ATS notifications with invalid Ats Id
Diffstat (limited to 'plugins/org.eclipse.osee.ats.core.test')
-rw-r--r--plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/internal/state/StateManagerStoreTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/internal/state/StateManagerStoreTest.java b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/internal/state/StateManagerStoreTest.java
index ba64cbe604b..237e38c3958 100644
--- a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/internal/state/StateManagerStoreTest.java
+++ b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/internal/state/StateManagerStoreTest.java
@@ -132,6 +132,7 @@ public class StateManagerStoreTest {
WorkState currentState = new WorkStateImpl("Analyze", Arrays.asList(Joe, Kay), 0, 0);
when(workStateFactory.fromStoreStr(eq("Analyze;<Joe><Kay>;;"))).thenReturn(currentState);
when(changes.getNotifications()).thenReturn(notifications);
+ when(workItem.getAtsId()).thenReturn("ATS1234");
StateManagerStore.postPersistNotifyReset(asUser, workItem, stateMgr, stateMgr.getAssigneesAdded(), attrResolver,
workStateFactory, changes);
@@ -160,6 +161,7 @@ public class StateManagerStoreTest {
WorkState currentState = new WorkStateImpl("Analyze", Arrays.asList(Joe, Kay), 0, 0);
when(workStateFactory.fromStoreStr(eq("Analyze;<Joe><Kay>;;"))).thenReturn(currentState);
when(changes.getNotifications()).thenReturn(notifications);
+ when(workItem.getAtsId()).thenReturn("ATS1234");
objects.add(workItem);
objects.add("now");

Back to the top