Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
markushi committed May 24, 2024
1 parent 6f76b85 commit 7cb177f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package io.sentry.android.ndk

import io.sentry.android.core.SentryAndroidOptions
import io.sentry.protocol.DebugImage
import io.sentry.ndk.NativeModuleListLoader
import org.mockito.kotlin.mock
import org.mockito.kotlin.verify
import org.mockito.kotlin.whenever
import java.lang.RuntimeException
import kotlin.test.Test
import kotlin.test.assertNotNull
import kotlin.test.assertNull
Expand Down Expand Up @@ -38,7 +37,7 @@ class DebugImagesLoaderTest {
whenever(fixture.nativeLoader.loadModuleList()).thenReturn(arrayOf())
assertNotNull(sut.loadDebugImages())

whenever(fixture.nativeLoader.loadModuleList()).thenReturn(arrayOf(DebugImage()))
whenever(fixture.nativeLoader.loadModuleList()).thenReturn(arrayOf(io.sentry.ndk.DebugImage()))
assertTrue(sut.loadDebugImages()!!.isEmpty())
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import io.sentry.DateUtils
import io.sentry.JsonSerializer
import io.sentry.SentryLevel
import io.sentry.SentryOptions
import io.sentry.ndk.INativeScope
import io.sentry.protocol.User
import org.mockito.kotlin.eq
import org.mockito.kotlin.mock
Expand Down

0 comments on commit 7cb177f

Please sign in to comment.