Skip to content

Commit

Permalink
fix: πŸ› [DSY-1332] Removing check disabled state
Browse files Browse the repository at this point in the history
  • Loading branch information
mlcsouza committed Dec 11, 2020
1 parent 319edb7 commit 8c609c2
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,6 @@ class IconButtonTest {
Truth.assertThat(enabled).isEqualTo(false)
}

@Test
fun `Given disabled flag is false, when IconButton is created, IconButton color has an alpha applied`() {
val iconButton = buildIconButtonDisabled()

val iconButtonAlpha = iconButton.getIcon().imageAlpha

Truth.assertThat(iconButtonAlpha).isEqualTo(OPACITY05_BASE255)
}

@Test
fun `Given notify attribute is bigger than 0, when IconButton is created, then badge should be visible`() {
val iconButton = buildIconButtonWithNotification()
Expand Down

0 comments on commit 8c609c2

Please sign in to comment.