diff --git a/app/src/androidTest/java/ch/epfl/sdp/ui/maps/MapActivityTest.kt b/app/src/androidTest/java/ch/epfl/sdp/ui/maps/MapActivityTest.kt index 046387df0..7a87144c9 100644 --- a/app/src/androidTest/java/ch/epfl/sdp/ui/maps/MapActivityTest.kt +++ b/app/src/androidTest/java/ch/epfl/sdp/ui/maps/MapActivityTest.kt @@ -184,7 +184,7 @@ class MapActivityTest { MainDataManager.groupId.value = DUMMY_GROUP_ID MainDataManager.role.value = Role.OPERATOR } - val expectedHeatmapId = DUMMY_GROUP_ID + "__" + IdentifierUtils.id() + val expectedHeatmapId = Auth.accountId.value + "__" + IdentifierUtils.id() mActivityRule.launchActivity(Intent()) mUiDevice.wait(Until.hasObject(By.desc(applicationContext().getString(R.string.map_ready))), MAP_LOADING_TIMEOUT)