From 9b65e6342299993c2144d361240b16541213d164 Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Thu, 18 Feb 2021 15:00:36 +0100 Subject: [PATCH] Closes #18006: DefaultSessionControlControllerTest: Correctly unmock SearchStateKt class. The test class left SearchStateKt mocked and caused other tests to fail intermittently when running after it. --- .../mozilla/fenix/home/DefaultSessionControlControllerTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/test/java/org/mozilla/fenix/home/DefaultSessionControlControllerTest.kt b/app/src/test/java/org/mozilla/fenix/home/DefaultSessionControlControllerTest.kt index 6025ba8b36..794d34039d 100644 --- a/app/src/test/java/org/mozilla/fenix/home/DefaultSessionControlControllerTest.kt +++ b/app/src/test/java/org/mozilla/fenix/home/DefaultSessionControlControllerTest.kt @@ -468,7 +468,7 @@ class DefaultSessionControlControllerTest { ) } } finally { - unmockkStatic(SearchState::class) + unmockkStatic("mozilla.components.browser.state.state.SearchStateKt") } }