mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 10:32:34 +00:00
Fix Formatting issue and rename class.
This commit is contained in:
+2
-2
@@ -200,7 +200,7 @@ class DefaultBugReporterTest {
|
|||||||
withScreenshot = true,
|
withScreenshot = true,
|
||||||
problemDescription = "a bug occurred",
|
problemDescription = "a bug occurred",
|
||||||
canContact = true,
|
canContact = true,
|
||||||
listener = FakeBugReporterListener(),
|
listener = NoopBugReporterListener(),
|
||||||
)
|
)
|
||||||
val request = server.takeRequest()
|
val request = server.takeRequest()
|
||||||
|
|
||||||
@@ -242,7 +242,7 @@ class DefaultBugReporterTest {
|
|||||||
withScreenshot = true,
|
withScreenshot = true,
|
||||||
problemDescription = "a bug occurred",
|
problemDescription = "a bug occurred",
|
||||||
canContact = true,
|
canContact = true,
|
||||||
listener = FakeBugReporterListener(),
|
listener = NoopBugReporterListener(),
|
||||||
)
|
)
|
||||||
val request = server.takeRequest()
|
val request = server.takeRequest()
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -18,7 +18,7 @@ package io.element.android.features.rageshake.impl.reporter
|
|||||||
|
|
||||||
import io.element.android.features.rageshake.api.reporter.BugReporterListener
|
import io.element.android.features.rageshake.api.reporter.BugReporterListener
|
||||||
|
|
||||||
class FakeBugReporterListener: BugReporterListener {
|
class NoopBugReporterListener : BugReporterListener {
|
||||||
override fun onUploadCancelled() = Unit
|
override fun onUploadCancelled() = Unit
|
||||||
override fun onUploadFailed(reason: String?) = Unit
|
override fun onUploadFailed(reason: String?) = Unit
|
||||||
override fun onProgress(progress: Int) = Unit
|
override fun onProgress(progress: Int) = Unit
|
||||||
Reference in New Issue
Block a user