mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
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).
This commit is contained in:
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…
Reference in New Issue
Block a user