Skip to content

Commit

Permalink
Fixed test case, after - "Removed "SQL downloads" source code"
Browse files Browse the repository at this point in the history
  • Loading branch information
muttcg committed Jan 20, 2020
1 parent 8d127f3 commit ece587c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -223,7 +223,7 @@ public void testList() {
int resultSize = downloads.getResults().size();
long numberOfPredicateDownloads = downloads.getResults().stream().filter(d -> d.getRequest() instanceof PredicateDownloadRequest).count();
//All numbers are compare to 2 different values because this each run twice: one for the WS and once for the MyBatis layer
assertEquals("A total of 12 records must be returned", 6, resultSize);
assertEquals("A total of 3 records must be returned", 3, resultSize);
assertEquals("A total of 3 PredicateDownloads must be returned", 3L, numberOfPredicateDownloads);
}

Expand Down

0 comments on commit ece587c

Please sign in to comment.