Skip to content

Commit

Permalink
Added Native repo test630SearchContainersByCidWithOrderById
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Jan 16, 2023
1 parent 475a7c8 commit ec6e0ea
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2302,6 +2302,18 @@ public void test621AssignmentSearchOrderByExtensionAttribute() throws SchemaExce
.containsExactly("assignment1-3-ext", "ls-user3-ass1");
}

@Test
public void test630SearchContainersByCidWithOrderById() throws SchemaException {
SearchResultList<AssignmentType> result = searchContainerTest(
"by owner OID and CID, ordered by CID", AssignmentType.class, f -> f.ownerId(user1Oid)
.and()
.item(T_ID).gt(1)
.asc(T_ID));
assertThat(result)
.extracting(a -> a.getLifecycleState())
.containsExactly("assignment1-2", "assignment1-3-ext"); // in this order
}

@Test
public void test690SearchErrorOperationExecutionForTask() throws SchemaException {
SearchResultList<OperationExecutionType> result = searchContainerTest(
Expand Down

0 comments on commit ec6e0ea

Please sign in to comment.