Skip to content

Commit

Permalink
fix merge with main
Browse files Browse the repository at this point in the history
  • Loading branch information
andresmr committed Dec 22, 2023
1 parent 96eff50 commit 98ecf5a
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import androidx.compose.ui.Modifier
import org.hisp.dhis.common.screens.previews.lorem
import org.hisp.dhis.mobile.ui.designsystem.component.ColumnComponentContainer
import org.hisp.dhis.mobile.ui.designsystem.component.DropdownItem
import org.hisp.dhis.mobile.ui.designsystem.component.InputDropDown
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ import androidx.compose.ui.focus.onFocusChanged
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.platform.testTag
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.unit.dp
import org.hisp.dhis.mobile.ui.designsystem.theme.DHIS2SCustomTextStyles
import org.hisp.dhis.mobile.ui.designsystem.theme.Spacing.Spacing16
import org.hisp.dhis.mobile.ui.designsystem.theme.Spacing.Spacing8
import org.hisp.dhis.mobile.ui.designsystem.theme.SurfaceColor
import androidx.compose.ui.text.style.TextOverflow
import org.hisp.dhis.mobile.ui.designsystem.theme.TextColor

private const val MAX_DROPDOWN_ITEMS = 6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Typography
import androidx.compose.material3.lightColorScheme
import androidx.compose.runtime.Composable
import androidx.compose.runtime.ReadOnlyComposable
import androidx.compose.ui.text.SpanStyle
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.font.FontWeight
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class BasicInputImageTest {
},
onAddButtonClicked = {
},
onImageClick = {},
)
}
rule.onNodeWithTag("INPUT_IMAGE").assertExists()
Expand All @@ -61,7 +60,6 @@ class BasicInputImageTest {
},
onAddButtonClicked = {
},
onImageClick = {},
)
}
rule.onNodeWithTag("INPUT_IMAGE").assertExists()
Expand All @@ -85,7 +83,6 @@ class BasicInputImageTest {
},
onAddButtonClicked = {
},
onImageClick = {},
)
}
rule.onNodeWithTag("INPUT_IMAGE").assertExists()
Expand All @@ -108,7 +105,6 @@ class BasicInputImageTest {
},
onAddButtonClicked = {
},
onImageClick = {},
)
}
rule.onNodeWithTag("INPUT_IMAGE").assertExists()
Expand Down Expand Up @@ -212,7 +208,6 @@ class BasicInputImageTest {
},
onAddButtonClicked = {
},
onImageClick = {},
)
}
rule.onNodeWithTag("INPUT_IMAGE").assertExists()
Expand All @@ -237,7 +232,6 @@ class BasicInputImageTest {
},
onAddButtonClicked = {
},
onImageClick = {},
)
}
rule.onNodeWithTag("INPUT_IMAGE").assertExists()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.saveable.rememberSaveable
import androidx.compose.runtime.setValue
import androidx.compose.ui.test.assertCountEquals
import androidx.compose.ui.test.assertHasNoClickAction
import androidx.compose.ui.test.assertIsEnabled
import androidx.compose.ui.test.assertIsNotEnabled
import androidx.compose.ui.test.assertTextEquals
Expand Down Expand Up @@ -145,7 +144,6 @@ class InputDropDownTest {
}
rule.onNodeWithTag("INPUT_DROPDOWN").assertExists()
rule.onNodeWithTag("INPUT_DROPDOWN_LEGEND").assertExists()
rule.onNodeWithTag("INPUT_DROPDOWN_LEGEND").assertHasNoClickAction()
}

@Test
Expand Down

0 comments on commit 98ecf5a

Please sign in to comment.