Skip to content

Commit 9dc716e

Browse files
committed
Fix tests
1 parent 05ab8ed commit 9dc716e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/EntityFormTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ class EntityFormTest {
391391
.assertTextDoesNotExist("Roman Roy")
392392
}
393393

394-
@Test //https://github.com/getodk/collect/issues/6425
394+
@Test // https://github.com/getodk/collect/issues/6425
395395
fun nonEntityFormWithCsvMatchingEntityList_usesCsvChoices() {
396396
testDependencies.server.addForm("one-question-entity-registration.xml", listOf(EntityListItem("people.csv")))
397397
testDependencies.server.addForm("select-one-person.xml", listOf(MediaFileItem("people.csv")))

collect_app/src/test/java/org/odk/collect/android/formentry/support/InMemFormSessionRepository.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import org.odk.collect.forms.instances.Instance
1010
import org.odk.collect.shared.strings.UUIDGenerator
1111

1212
class InMemFormSessionRepository : FormSessionRepository {
13+
override var currentForm: Form? = null
1314

1415
private val map = mutableMapOf<String, MutableLiveData<FormSession>>()
1516

0 commit comments

Comments
 (0)