Commit 73856b28 authored by Lukasz Waskiewicz's avatar Lukasz Waskiewicz
Browse files

refs #1100 poprawiony zepsuty test

parent 2bc17cb9
......@@ -26,7 +26,7 @@ public class ActionAwareCocosQueryWrapperTest extends AbstractTestNGSpringContex
CocosQuery query = new CocosUserQuery();
query.setStatus(CocosQueryStatus.EXECUTED);
List<CocosQueryAction> actions = wrapper.wrap(query).getActions();
Assertions.assertThat(actions).hasSize(2);
Assertions.assertThat(actions).hasSize(3);
Assertions.assertThat(actions).contains(CocosQueryAction.SHOW_RESULTS, CocosQueryAction.REMOVE);
}
......@@ -35,8 +35,8 @@ public class ActionAwareCocosQueryWrapperTest extends AbstractTestNGSpringContex
CocosQuery query = new CocosAnonymousQuery();
query.setStatus(CocosQueryStatus.EXECUTED);
List<CocosQueryAction> actions = wrapper.wrap(query).getActions();
Assertions.assertThat(actions).hasSize(2);
Assertions.assertThat(actions).contains(CocosQueryAction.SHOW_RESULTS, CocosQueryAction.REMOVE);
Assertions.assertThat(actions).hasSize(3);
Assertions.assertThat(actions).contains(CocosQueryAction.SHOW_RESULTS, CocosQueryAction.REMOVE, CocosQueryAction.DOWNLOAD_RESULTS);
}
@Test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment