The unit test suite fails to compile due to deprecated dispatcher methods.
'fun pauseDispatcher(): Unit' is deprecated. Please use a dispatcher that is paused by default, like StandardTestDispatcher.
It happens in test files like eu.opencloud.android.presentation.viewmodels.DrawerViewModelTest because it uses deprecated methods like kotlinx.coroutines.test.TestCoroutineDispatcher#pauseDispatcher()
All affected tests should be updated to use StandardTestDispatcher to fix the compilation issues.
The unit test suite fails to compile due to deprecated dispatcher methods.
'fun pauseDispatcher(): Unit' is deprecated. Please use a dispatcher that is paused by default, like
StandardTestDispatcher.It happens in test files like eu.opencloud.android.presentation.viewmodels.DrawerViewModelTest because it uses deprecated methods like kotlinx.coroutines.test.TestCoroutineDispatcher#pauseDispatcher()
All affected tests should be updated to use StandardTestDispatcher to fix the compilation issues.