From e8020c5e1a111f2054b3383d2c540ea0d76d60e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=E2=89=A1ZRS?= <12814349+LZRS@users.noreply.github.com> Date: Fri, 15 Nov 2024 13:01:09 +0300 Subject: [PATCH] Fix broken test in RegisterScreenTest (#3613) --- .../quest/integration/ui/register/RegisterScreenTest.kt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/android/quest/src/androidTest/java/org/smartregister/fhircore/quest/integration/ui/register/RegisterScreenTest.kt b/android/quest/src/androidTest/java/org/smartregister/fhircore/quest/integration/ui/register/RegisterScreenTest.kt index af2bd8542c..4f06616a7f 100644 --- a/android/quest/src/androidTest/java/org/smartregister/fhircore/quest/integration/ui/register/RegisterScreenTest.kt +++ b/android/quest/src/androidTest/java/org/smartregister/fhircore/quest/integration/ui/register/RegisterScreenTest.kt @@ -182,9 +182,6 @@ class RegisterScreenTest { ), ), registerId = "register101", - totalRecordsCount = 1, - filteredRecordsCount = 0, - pagesCount = 0, progressPercentage = flowOf(0), isSyncUpload = flowOf(false), params = emptyList(), @@ -207,6 +204,12 @@ class RegisterScreenTest { pagingItems = pagingItems, navController = rememberNavController(), decodeImage = null, + registerUiCountState = + RegisterUiCountState( + totalRecordsCount = 1, + filteredRecordsCount = 0, + pagesCount = 0, + ), ) }