DLNA renderers, app updates told like Librarian, acquisition without Lidarr, Collection and admin rework (M502–M505, M542) #156
+2
-1
@@ -24,7 +24,8 @@ class NotificationsViewModelTest {
|
||||
private val network: NetworkStatusController = mockk {
|
||||
every { state } returns MutableStateFlow(ServerHealth.Healthy)
|
||||
}
|
||||
private val viewModel = NotificationsViewModel(repository, network)
|
||||
// Lazy: built inside each test, after the extension has swapped in the test Main dispatcher.
|
||||
private val viewModel by lazy { NotificationsViewModel(repository, network) }
|
||||
|
||||
private fun row(id: String, read: Boolean) = CachedNotificationEntity(
|
||||
id = id,
|
||||
|
||||
Reference in New Issue
Block a user