diff options
Diffstat (limited to 'plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/performance/OseeClientQueryTest.java')
-rw-r--r-- | plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/performance/OseeClientQueryTest.java | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/performance/OseeClientQueryTest.java b/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/performance/OseeClientQueryTest.java index 1cb0b420970..4ffbcf96182 100644 --- a/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/performance/OseeClientQueryTest.java +++ b/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/performance/OseeClientQueryTest.java @@ -95,17 +95,9 @@ public class OseeClientQueryTest { @Test public void searchForArtifactByLocalId() throws OseeCoreException { final int EXPECTED_RESULTS = 1; - SearchResult results = createClient.createQueryBuilder(COMMON).andLocalId( - CoreArtifactTokens.UserGroups.getId().intValue()).getSearchResult(RequestType.IDS); - assertEquals(EXPECTED_RESULTS, results.getTotal()); - } - - @Test - public void searchForArtifactByLocalIds() throws OseeCoreException { - final int EXPECTED_RESULTS = 2; SearchResult results = - createClient.createQueryBuilder(COMMON).andLocalId(CoreArtifactTokens.UserGroups.getId().intValue(), - CoreArtifactTokens.Everyone.getId().intValue()).getSearchResult(RequestType.IDS); + createClient.createQueryBuilder(COMMON).andLocalId(CoreArtifactTokens.UserGroups).getSearchResult( + RequestType.IDS); assertEquals(EXPECTED_RESULTS, results.getTotal()); } |