Fix CrashReporterService breaking changes

fennec/production
Arturo Mejia 4 years ago
parent a1d49eded0
commit a8843def6c

@ -19,14 +19,9 @@ internal class BreadcrumbRecorderTest {
@Test
fun `ensure crash reporter recordCrashBreadcrumb is called`() {
val service = object : CrashReporterService {
override fun report(throwable: Throwable) {
}
override fun report(crash: Crash.UncaughtExceptionCrash) {
}
override fun report(crash: Crash.NativeCodeCrash) {
}
override fun report(throwable: Throwable): String? = ""
override fun report(crash: Crash.NativeCodeCrash): String? = ""
override fun report(crash: Crash.UncaughtExceptionCrash): String? = ""
}
val reporter = spy(

Loading…
Cancel
Save