Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
Balcan committed Nov 26, 2024
1 parent 3e64f5e commit a4572db
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions form/src/test/java/org/dhis2/form/integration/ProgramRulesTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -373,23 +373,13 @@ class ProgramRulesTest {
formViewModel.submitIntent(intent)
advanceUntilIdle()

val items = formViewModel.items.value ?: emptyList()

verify(dataEntryRepository).options(
optionSetUid = "optionSetUid",
query = "",
optionsToHide = emptyList(),
optionGroupsToHide = emptyList(),
optionGroupsToShow = listOf("optionGroupId"),
)
/*
val optionsToDisplay: List<Option> =
items.find { it.uid == "uid006" }!!.optionSetConfiguration!!.optionsToDisplay()
assertTrue(optionsToDisplay.size == 3)
assertTrue(optionsToDisplay[0].uid() == "Option2")
assertTrue(optionsToDisplay[1].uid() == "Option3")
assertTrue(optionsToDisplay[2].uid() == "Option4")*/
}

@OptIn(ExperimentalCoroutinesApi::class)
Expand Down

0 comments on commit a4572db

Please sign in to comment.