Skip to content

Commit

Permalink
fixed unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
janvanrijn committed Jun 4, 2018
1 parent a411d23 commit aab381c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public void testGetDataAsCsv() throws Exception {
Random random = new Random();

Map<String,String> filters = new TreeMap<String, String>();
filters.put("tag", "study_14");
filters.put("limit", "100");

DataSet[] all = client_read.dataList(filters).getData();

Expand Down
6 changes: 3 additions & 3 deletions apiconnector/src/test/java/apiconnector/TestMisc.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ public void testApiGetStudySetups() throws Exception {

@Test
public void testApiGetStudyByAlias() throws Exception {
Study s = client_test_read.studyGet("OpenML100", "data");
Study s = client_test_read.studyGet("OpenML100", "tasks");
assertTrue(s.getTag().length > 0);
assertTrue(s.getDataset().length > 10);
assertTrue(s.getDataset() == null);
assertTrue(s.getFlows() == null);
assertTrue(s.getTasks() == null);
assertTrue(s.getTasks().length > 10);
assertTrue(s.getSetups() == null);
}
}

0 comments on commit aab381c

Please sign in to comment.