Skip to content

Commit

Permalink
Add test, remove out-of-date comment
Browse files Browse the repository at this point in the history
  • Loading branch information
simond-stripe committed Jan 8, 2025
1 parent ce8f402 commit 162d768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,6 @@ internal class StripeConnectWebViewContainerImpl<Listener, Props>(
bindViewToController()
}

// Must be called after initializeInternal(). The controller
// must be initialized and view binding inflated at the time
// this function is called.
private fun bindViewToController() {
val view = this.viewBinding?.root ?: return
val controller = this.controller ?: return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import com.stripe.android.connect.EmbeddedComponentManager
import com.stripe.android.connect.PayoutsListener
import com.stripe.android.connect.PrivateBetaConnectSDK
import com.stripe.android.connect.StripeEmbeddedComponent
import com.stripe.android.connect.analytics.ConnectAnalyticsService
import com.stripe.android.connect.analytics.ComponentAnalyticsService
import com.stripe.android.connect.appearance.Appearance
import com.stripe.android.connect.appearance.Colors
import com.stripe.android.connect.webview.serialization.SetOnLoadError
Expand Down Expand Up @@ -52,7 +52,7 @@ class StripeConnectWebViewContainerControllerTest {
private val mockContext: Context = mock()
private val mockPermissionRequest: PermissionRequest = mock()
private val view: StripeConnectWebViewContainerInternal = mock()
private val analyticsService: ConnectAnalyticsService = mock()
private val analyticsService: ComponentAnalyticsService = mock()
private val embeddedComponentManager: EmbeddedComponentManager = mock()
private val embeddedComponent: StripeEmbeddedComponent = StripeEmbeddedComponent.PAYOUTS

Expand Down

0 comments on commit 162d768

Please sign in to comment.