No issue - post: mock profiler object in DefaultTabTrayControllerTest.

Without this line, the tests fail when running the full suite (but not
this test in isolation, for some reason).
releases/v79.1.0
Michael Comella 4 years ago committed by Michael Comella
parent 7319f77114
commit 9fa241fbb0

@ -61,6 +61,7 @@ class DefaultTabTrayControllerTest {
every { activity.components.core.sessionManager } returns sessionManager
every { activity.components.core.tabCollectionStorage } returns tabCollectionStorage
every { activity.components.core.engine.profiler } returns mockk(relaxed = true)
every { sessionManager.sessionsOfType(private = true) } returns listOf(session).asSequence()
every { sessionManager.sessionsOfType(private = false) } returns listOf(nonPrivateSession).asSequence()
every { sessionManager.createSessionSnapshot(any()) } returns SessionManager.Snapshot.Item(

Loading…
Cancel
Save