From 8c609c288d2d96154cdbc97eed8353233c53ac4a Mon Sep 17 00:00:00 2001 From: Marcella Souza Date: Fri, 11 Dec 2020 13:20:38 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20[DSY-1332]=20Removing=20c?= =?UTF-8?q?heck=20disabled=20state?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/natura/android/iconButton/IconButtonTest.kt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/designsystem/src/test/kotlin/com/natura/android/iconButton/IconButtonTest.kt b/designsystem/src/test/kotlin/com/natura/android/iconButton/IconButtonTest.kt index 42ceb2ebe..4daad5def 100644 --- a/designsystem/src/test/kotlin/com/natura/android/iconButton/IconButtonTest.kt +++ b/designsystem/src/test/kotlin/com/natura/android/iconButton/IconButtonTest.kt @@ -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()