Skip to content

Commit

Permalink
Merge pull request #891 from dhis2/develop
Browse files Browse the repository at this point in the history
fix: Develop 0.17.0 - androidTest
  • Loading branch information
vgarciabnz authored Jun 28, 2019
2 parents 9e31847 + fffd95a commit c19c41f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@

import org.hisp.dhis.android.core.D2;
import org.hisp.dhis.android.core.d2manager.D2Factory;
import org.hisp.dhis.android.core.organisationunit.OrganisationUnitMode;
import org.hisp.dhis.android.core.data.server.RealServerMother;
import org.hisp.dhis.android.core.organisationunit.OrganisationUnitMode;
import org.hisp.dhis.android.core.trackedentity.TrackedEntityInstance;
import org.hisp.dhis.android.core.utils.integration.real.BaseRealIntegrationTest;
import org.junit.Before;
Expand Down Expand Up @@ -80,7 +80,7 @@ public void query_tracked_entity_instances_filter_name() throws Exception {

TrackedEntityInstanceQuery query = queryBuilder.query(QueryFilter.create("jorge")).build();
List<TrackedEntityInstance> queryResponse =
d2.trackedEntityModule().trackedEntityInstanceQuery.on.onlineOnly().query(query).get();
d2.trackedEntityModule().trackedEntityInstanceQuery.onlineOnly().query(query).get();
assertThat(queryResponse).isNotEmpty();
}

Expand Down Expand Up @@ -155,7 +155,7 @@ public void query_tracked_entity_instances_one_filter() throws Exception {
List<QueryItem> filterList = new ArrayList<>(1);
filterList.add(QueryItem.create("w75KJ2mc4zz", QueryFilter.create(QueryOperator.LIKE, "jorge")));

TrackedEntityInstanceQuery query = queryBuilder.qu.filter(filterList).build();
TrackedEntityInstanceQuery query = queryBuilder.filter(filterList).build();
List<TrackedEntityInstance> queryResponse =
d2.trackedEntityModule().trackedEntityInstanceQuery.onlineOnly().query(query).get();
assertThat(queryResponse).isNotEmpty();
Expand Down

0 comments on commit c19c41f

Please sign in to comment.