diff options
author | Roberto E. Escobar | 2014-06-05 22:36:18 +0000 |
---|---|---|
committer | Roberto E. Escobar | 2014-06-18 20:18:20 +0000 |
commit | 4e52c81e4d8e0b2257ad0a078c00e29eb9493d7d (patch) | |
tree | 9b19d2a4398b8568050ebbd5c71009984a376875 /plugins/org.eclipse.osee.orcs.core.test | |
parent | ab5a36cc2784a25d838d4761e740f0925b24bd17 (diff) | |
download | org.eclipse.osee-4e52c81e4d8e0b2257ad0a078c00e29eb9493d7d.tar.gz org.eclipse.osee-4e52c81e4d8e0b2257ad0a078c00e29eb9493d7d.tar.xz org.eclipse.osee-4e52c81e4d8e0b2257ad0a078c00e29eb9493d7d.zip |
feature[ats_ATS39995]: Convert unsubscribe to use REST API
Change-Id: I72320d390dad9db89935fd29ac487c97e35015b2
Diffstat (limited to 'plugins/org.eclipse.osee.orcs.core.test')
-rw-r--r-- | plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/transaction/TxCallableFactoryTest.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/transaction/TxCallableFactoryTest.java b/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/transaction/TxCallableFactoryTest.java index 49b62054e26..c79386f34f5 100644 --- a/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/transaction/TxCallableFactoryTest.java +++ b/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/transaction/TxCallableFactoryTest.java @@ -21,7 +21,6 @@ import static org.mockito.Mockito.when; import java.util.Collection; import java.util.Collections; import java.util.concurrent.Callable; -import org.eclipse.osee.executor.admin.CancellableCallable; import org.eclipse.osee.framework.core.data.IOseeBranch; import org.eclipse.osee.framework.core.data.ITransaction; import org.eclipse.osee.framework.core.model.TransactionRecord; @@ -91,17 +90,6 @@ public class TxCallableFactoryTest { when(graph.getBranch()).thenReturn(branch); } - @SuppressWarnings("unchecked") - @Test - public void testCreateUnsubscribeTx() throws Exception { - CancellableCallable<String> callable = mock(CancellableCallable.class); - when(txDataStore.createUnsubscribeTx(userArtifact, groupArtifact)).thenReturn(callable); - - txFactory.createUnsubscribeTx(session, userArtifact, groupArtifact).call(); - - verify(txDataStore).createUnsubscribeTx(userArtifact, groupArtifact); - } - @SuppressWarnings({"unchecked", "rawtypes"}) @Test public void testpurgeTransactions() throws Exception { |