Skip to content

Commit

Permalink
Update test outcomes to match new test data
Browse files Browse the repository at this point in the history
  • Loading branch information
mdoering committed Mar 20, 2020
1 parent d4b1535 commit 33c1870
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -406,10 +406,10 @@ public void search() throws Exception {
// by origin
query = new DatasetSearchRequest();
query.setOrigin(DatasetOrigin.MANAGED);
assertEquals(2, mapper().search(query, new Page()).size());
assertEquals(3, mapper().search(query, new Page()).size());

query.setOrigin(DatasetOrigin.EXTERNAL);
assertEquals(6, mapper().search(query, new Page()).size());
assertEquals(5, mapper().search(query, new Page()).size());
}

private int createSearchableDataset(String title, String author, String organisation, String description) {
Expand Down

0 comments on commit 33c1870

Please sign in to comment.