Skip to content

Commit

Permalink
Fix failing checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
michelleb-stripe committed May 6, 2022
1 parent 7c558c3 commit 3ceb1c5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.stripe.android.paymentsheet.ui

import android.animation.LayoutTransition
import android.content.pm.ActivityInfo
import android.content.res.ColorStateList
import android.graphics.Insets
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.stripe.android.paymentsheet

import android.animation.LayoutTransition
import android.content.Context
import androidx.activity.result.ActivityResultLauncher
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
Expand Down Expand Up @@ -399,28 +398,6 @@ internal class PaymentSheetActivityTest {
}
}

@Test
fun `Verify animation is enabled for layout transition changes`() {
val scenario = activityScenario()
scenario.launch(intent).onActivity { activity ->
// wait for bottom sheet to animate in
idleLooper()

assertThat(
activity.viewBinding.bottomSheet.layoutTransition.isTransitionTypeEnabled(
LayoutTransition.CHANGING
)
).isTrue()

assertThat(
activity.viewBinding.fragmentContainerParent.layoutTransition
.isTransitionTypeEnabled(
LayoutTransition.CHANGING
)
).isTrue()
}
}

@Test
fun `Verify Ready state updates the buy button label`() {
val scenario = activityScenario()
Expand Down

0 comments on commit 3ceb1c5

Please sign in to comment.