Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jayohms committed Nov 25, 2024
1 parent f728485 commit 528af20
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package dev.hotwire.core.turbo.session

import android.os.Build
import androidx.activity.result.ActivityResultLauncher
import androidx.appcompat.app.AppCompatActivity
import com.nhaarman.mockito_kotlin.never
import com.nhaarman.mockito_kotlin.times
Expand Down Expand Up @@ -54,6 +55,7 @@ class SessionTest {
val visitDestination = object : VisitDestination {
override fun isActive() = true
override fun activityResultLauncher(requestCode: Int) = null
override fun activityPermissionResultLauncher(requestCode: Int) = null
}

whenever(callback.visitDestination()).thenReturn(visitDestination)
Expand Down

0 comments on commit 528af20

Please sign in to comment.