Skip to content
Snippets Groups Projects
Commit 8ee00841 authored by felmer's avatar felmer
Browse files

DssServiceRpcScreeningTest fixed

SVN: 34858
parent 099089a6
No related branches found
No related tags found
No related merge requests found
......@@ -513,14 +513,15 @@ public class DssServiceRpcScreeningTest extends AssertJUnit
context.checking(new Expectations()
{
{
allowing(dao).listImageDatasetsByPermId(new String[]
{ DATASET_CODE, DATASET_CODE2 });
allowing(dao).listImageDatasetsByPermId(new String[]
{ DATASET_CODE2, DATASET_CODE });
ImgImageDatasetDTO ds1 =
new ImgImageDatasetDTO(DATASET_CODE, null, null, null, false, null,
null);
ds1.setId(42);
allowing(dao).listImageDatasetsByPermId(new String[]
{ DATASET_CODE, DATASET_CODE2 });
will(returnValue(Arrays.asList(ds1)));
allowing(dao).listImageDatasetsByPermId(new String[]
{ DATASET_CODE2, DATASET_CODE });
will(returnValue(Arrays.asList(ds1)));
one(dao).listImageZoomLevels(42L);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment