File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
features/login/impl/src/test/kotlin/io/element/android/features/login/impl Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import io.element.android.features.login.impl.accountprovider.AccountProviderDat
1717import io.element.android.libraries.oidc.test.customtab.FakeOidcActionFlow
1818import io.element.android.tests.testutils.lambda.lambdaError
1919import io.element.android.tests.testutils.node.TestParentNode
20+ import kotlinx.coroutines.test.runTest
2021import org.junit.Rule
2122import org.junit.Test
2223
@@ -28,14 +29,15 @@ class DefaultLoginEntryPointTest {
2829 val mainDispatcherRule = MainDispatcherRule ()
2930
3031 @Test
31- fun `test node builder` () {
32+ fun `test node builder` () = runTest {
3233 val entryPoint = DefaultLoginEntryPoint ()
3334 val parentNode = TestParentNode .create { buildContext, plugins ->
3435 LoginFlowNode (
3536 buildContext = buildContext,
3637 plugins = plugins,
3738 accountProviderDataSource = AccountProviderDataSource (FakeEnterpriseService ()),
3839 oidcActionFlow = FakeOidcActionFlow (),
40+ appCoroutineScope = backgroundScope,
3941 )
4042 }
4143 val callback = object : LoginEntryPoint .Callback {
You can’t perform that action at this time.
0 commit comments