Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanHolstien committed Aug 7, 2024
1 parent 4616f7f commit 378a325
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import io.datahubproject.metadata.context.OperationContext;
import io.datahubproject.openapi.config.SpringWebConfig;
import io.datahubproject.test.metadata.context.TestOperationContexts;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down Expand Up @@ -95,7 +96,7 @@ public void testSearchOrderPreserved() throws Exception {
eq(List.of("dataset")),
anyString(),
nullable(Filter.class),
eq(SearchUtil.sortBy("urn", SortOrder.valueOf("ASCENDING"))),
eq(Collections.singletonList(SearchUtil.sortBy("urn", SortOrder.valueOf("ASCENDING")))),
nullable(String.class),
nullable(String.class),
anyInt()))
Expand All @@ -113,7 +114,7 @@ public void testSearchOrderPreserved() throws Exception {
eq(List.of("dataset")),
anyString(),
nullable(Filter.class),
eq(SearchUtil.sortBy("urn", SortOrder.valueOf("DESCENDING"))),
eq(Collections.singletonList(SearchUtil.sortBy("urn", SortOrder.valueOf("DESCENDING")))),
nullable(String.class),
nullable(String.class),
anyInt()))
Expand Down

0 comments on commit 378a325

Please sign in to comment.