Skip to content

Commit

Permalink
[DEVELOP] Fix androidTest
Browse files Browse the repository at this point in the history
  • Loading branch information
vgarciabnz committed Jun 28, 2019
1 parent c08fee2 commit fffd95a
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 fffd95a

Please sign in to comment.