From fffd95ada90b244e496b93adb9e323ac8b6bc49a Mon Sep 17 00:00:00 2001 From: Victor Garcia Date: Fri, 28 Jun 2019 12:27:47 +0200 Subject: [PATCH] [DEVELOP] Fix androidTest --- ...TrackedEntityInstanceQueryCallRealIntegrationShould.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/androidTest/java/org/hisp/dhis/android/core/trackedentity/search/TrackedEntityInstanceQueryCallRealIntegrationShould.java b/core/src/androidTest/java/org/hisp/dhis/android/core/trackedentity/search/TrackedEntityInstanceQueryCallRealIntegrationShould.java index 29bba5eac8..9ffb35fb92 100644 --- a/core/src/androidTest/java/org/hisp/dhis/android/core/trackedentity/search/TrackedEntityInstanceQueryCallRealIntegrationShould.java +++ b/core/src/androidTest/java/org/hisp/dhis/android/core/trackedentity/search/TrackedEntityInstanceQueryCallRealIntegrationShould.java @@ -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; @@ -80,7 +80,7 @@ public void query_tracked_entity_instances_filter_name() throws Exception { TrackedEntityInstanceQuery query = queryBuilder.query(QueryFilter.create("jorge")).build(); List queryResponse = - d2.trackedEntityModule().trackedEntityInstanceQuery.on.onlineOnly().query(query).get(); + d2.trackedEntityModule().trackedEntityInstanceQuery.onlineOnly().query(query).get(); assertThat(queryResponse).isNotEmpty(); } @@ -155,7 +155,7 @@ public void query_tracked_entity_instances_one_filter() throws Exception { List 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 queryResponse = d2.trackedEntityModule().trackedEntityInstanceQuery.onlineOnly().query(query).get(); assertThat(queryResponse).isNotEmpty();