Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove user scoped shared pref and store all feature flags in the metadata user DB table #2235

Closed

fix test

567af52
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

refactor: remove user scoped shared pref and store all feature flags in the metadata user DB table #2235

fix test
567af52
Select commit
Loading
Failed to load commit list.
GitHub Actions / Unit Test Results failed Nov 17, 2023 in 0s

29 fail, 103 skipped, 2 353 pass in 30s

   438 files  +   438     438 suites  +438   30s ⏱️ +30s
2 485 tests +2 485  2 353 ✔️ +2 353  103 💤 +103  29 +29 

Results for commit 567af52. ± Comparison against earlier commit 196ccc4.

Annotations

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenSecondFactorChallengeIsEnabled_whenSyncing_thenItShouldBeStoredAsRequired[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.isFileSharingEnabled()

    Set up an expectation using:
        given(instance).coroutine { isFileSharingEnabled() }
            .then { ... }
    
    The following expectations were configured on the mock:
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:57)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isFileSharingEnabledCOROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:130)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:30)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:67)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenSecondFactorChallengeIsEnabled_whenSyncing_thenItShouldBeStoredAsRequired$lambda$0COROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:91)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenSecondFactorChallengeIsEnabled_whenSyncing_thenItShouldBeStoredAsRequired$lambda$0#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:78)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenSecondFactorChallengeIsEnabled_whenSyncing_thenItShouldBeStoredAsRequired$lambda$0$FUNCTION_REFERENCE$0.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:78)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenSecondFactorChallengeIsEnabled_whenSyncing_thenItShouldBeStoredAsRequired(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:78)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenSecondFactorChallengeIsEnabled_whenSyncing_thenItShouldBeStoredAsRequired$FUNCTION_REFERENCE$46.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:78)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenSecondFactorChallengeIsEnabled_whenSyncing_thenItShouldBeStoredAsRequired$FUNCTION_REFERENCE$46.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:78)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenSecondFactorChallengeIsDisabled_whenSyncing_thenItShouldBeStoredAsNotRequired[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.isFileSharingEnabled()

    Set up an expectation using:
        given(instance).coroutine { isFileSharingEnabled() }
            .then { ... }
    
    The following expectations were configured on the mock:
        persistGuestRoomLinkFeatureFlag(...)
        getTeamSettingsSelfDeletionStatus()
        getSupportedProtocols()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:57)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isFileSharingEnabledCOROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:130)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:30)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:67)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenSecondFactorChallengeIsDisabled_whenSyncing_thenItShouldBeStoredAsNotRequired$lambda$1COROUTINE$1.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:112)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenSecondFactorChallengeIsDisabled_whenSyncing_thenItShouldBeStoredAsNotRequired$lambda$1#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:99)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenSecondFactorChallengeIsDisabled_whenSyncing_thenItShouldBeStoredAsNotRequired$lambda$1$FUNCTION_REFERENCE$1.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:99)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenSecondFactorChallengeIsDisabled_whenSyncing_thenItShouldBeStoredAsNotRequired(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:99)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenSecondFactorChallengeIsDisabled_whenSyncing_thenItShouldBeStoredAsNotRequired$FUNCTION_REFERENCE$47.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:99)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenSecondFactorChallengeIsDisabled_whenSyncing_thenItShouldBeStoredAsNotRequired$FUNCTION_REFERENCE$47.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:99)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenConferenceCallingIsEnabled_whenSyncing_thenItShouldBeStoredAsEnabled[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.isFileSharingEnabled()

    Set up an expectation using:
        given(instance).coroutine { isFileSharingEnabled() }
            .then { ... }
    
    The following expectations were configured on the mock:
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:57)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isFileSharingEnabledCOROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:130)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:30)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:67)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenConferenceCallingIsEnabled_whenSyncing_thenItShouldBeStoredAsEnabled$lambda$2COROUTINE$2.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenConferenceCallingIsEnabled_whenSyncing_thenItShouldBeStoredAsEnabled$lambda$2#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:120)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenConferenceCallingIsEnabled_whenSyncing_thenItShouldBeStoredAsEnabled$lambda$2$FUNCTION_REFERENCE$2.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:120)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenConferenceCallingIsEnabled_whenSyncing_thenItShouldBeStoredAsEnabled(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:120)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenConferenceCallingIsEnabled_whenSyncing_thenItShouldBeStoredAsEnabled$FUNCTION_REFERENCE$48.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:120)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenConferenceCallingIsEnabled_whenSyncing_thenItShouldBeStoredAsEnabled$FUNCTION_REFERENCE$48.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:120)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenConferenceCallingIsDisasbled_whenSyncing_thenItShouldBeStoredAsDisabled[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.isFileSharingEnabled()

    Set up an expectation using:
        given(instance).coroutine { isFileSharingEnabled() }
            .then { ... }
    
    The following expectations were configured on the mock:
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:57)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isFileSharingEnabledCOROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:130)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:30)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:67)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenConferenceCallingIsDisasbled_whenSyncing_thenItShouldBeStoredAsDisabled$lambda$3COROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:147)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenConferenceCallingIsDisasbled_whenSyncing_thenItShouldBeStoredAsDisabled$lambda$3#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:137)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenConferenceCallingIsDisasbled_whenSyncing_thenItShouldBeStoredAsDisabled$lambda$3$FUNCTION_REFERENCE$3.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:137)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenConferenceCallingIsDisasbled_whenSyncing_thenItShouldBeStoredAsDisabled(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:137)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenConferenceCallingIsDisasbled_whenSyncing_thenItShouldBeStoredAsDisabled$FUNCTION_REFERENCE$49.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:137)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenConferenceCallingIsDisasbled_whenSyncing_thenItShouldBeStoredAsDisabled$FUNCTION_REFERENCE$49.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:137)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenFileSharingIsEnabled_whenSyncing_thenShouldStoreAsEnabled[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.isFileSharingEnabled()

    Set up an expectation using:
        given(instance).coroutine { isFileSharingEnabled() }
            .then { ... }
    
    The following expectations were configured on the mock:
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:57)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isFileSharingEnabledCOROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:130)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:30)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:67)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenFileSharingIsEnabled_whenSyncing_thenShouldStoreAsEnabled$lambda$4COROUTINE$4.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:164)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenFileSharingIsEnabled_whenSyncing_thenShouldStoreAsEnabled$lambda$4#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:155)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenFileSharingIsEnabled_whenSyncing_thenShouldStoreAsEnabled$lambda$4$FUNCTION_REFERENCE$4.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:155)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenFileSharingIsEnabled_whenSyncing_thenShouldStoreAsEnabled(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:155)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenFileSharingIsEnabled_whenSyncing_thenShouldStoreAsEnabled$FUNCTION_REFERENCE$50.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:155)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenFileSharingIsEnabled_whenSyncing_thenShouldStoreAsEnabled$FUNCTION_REFERENCE$50.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:155)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenFileSharingIsEnabledWithoutChange_whenSyncing_thenShouldStoreAsDisabled[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.appLockStatus()

    Set up an expectation using:
        given(instance).coroutine { appLockStatus() }
            .then { ... }
    
    The following expectations were configured on the mock:
        setTeamSettingsSelfDeletionStatus(...)
        persistSecondFactorPasswordChallengeStatus(...)
        persistConferenceCalling(...)
        persistClassifiedDomainsStatus(...)
        setMigrationConfiguration(...)
        setSupportedProtocols(...)
        persistDefaultProtocol(...)
        persistFileSharingStatus(...)
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isFileSharingEnabled()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#appLockStatus#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:27)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isTeamAppLockEnabledCOROUTINE$39.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:363)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isTeamAppLockEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:362)
	at com.wire.kalium.logic.feature.featureConfig.handler.AppLockConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/AppLockConfigHandler.kt:49)
	at com.wire.kalium.logic.feature.featureConfig.handler.AppLockConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/AppLockConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:75)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenFileSharingIsEnabledWithoutChange_whenSyncing_thenShouldStoreAsDisabled$lambda$5COROUTINE$5.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:185)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenFileSharingIsEnabledWithoutChange_whenSyncing_thenShouldStoreAsDisabled$lambda$5#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:172)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenFileSharingIsEnabledWithoutChange_whenSyncing_thenShouldStoreAsDisabled$lambda$5$FUNCTION_REFERENCE$5.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:172)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenFileSharingIsEnabledWithoutChange_whenSyncing_thenShouldStoreAsDisabled(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:172)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenFileSharingIsEnabledWithoutChange_whenSyncing_thenShouldStoreAsDisabled$FUNCTION_REFERENCE$51.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:172)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenFileSharingIsEnabledWithoutChange_whenSyncing_thenShouldStoreAsDisabled$FUNCTION_REFERENCE$51.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:172)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenFileSharingIsDisabled_whenSyncing_thenShouldStoreAsDisabled[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.isFileSharingEnabled()

    Set up an expectation using:
        given(instance).coroutine { isFileSharingEnabled() }
            .then { ... }
    
    The following expectations were configured on the mock:
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:57)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isFileSharingEnabledCOROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:130)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:30)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:67)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenFileSharingIsDisabled_whenSyncing_thenShouldStoreAsDisabled$lambda$6COROUTINE$6.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:203)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenFileSharingIsDisabled_whenSyncing_thenShouldStoreAsDisabled$lambda$6#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:193)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenFileSharingIsDisabled_whenSyncing_thenShouldStoreAsDisabled$lambda$6$FUNCTION_REFERENCE$6.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:193)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenFileSharingIsDisabled_whenSyncing_thenShouldStoreAsDisabled(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:193)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenFileSharingIsDisabled_whenSyncing_thenShouldStoreAsDisabled$FUNCTION_REFERENCE$52.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:193)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenFileSharingIsDisabled_whenSyncing_thenShouldStoreAsDisabled$FUNCTION_REFERENCE$52.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:193)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenFileSharingIsDisabledWithoutChange_whenSyncing_thenShouldStoreChangedAsFalse[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.appLockStatus()

    Set up an expectation using:
        given(instance).coroutine { appLockStatus() }
            .then { ... }
    
    The following expectations were configured on the mock:
        setTeamSettingsSelfDeletionStatus(...)
        persistSecondFactorPasswordChallengeStatus(...)
        persistConferenceCalling(...)
        persistClassifiedDomainsStatus(...)
        setMigrationConfiguration(...)
        setSupportedProtocols(...)
        persistDefaultProtocol(...)
        persistFileSharingStatus(...)
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isFileSharingEnabled()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#appLockStatus#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:27)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isTeamAppLockEnabledCOROUTINE$39.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:363)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isTeamAppLockEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:362)
	at com.wire.kalium.logic.feature.featureConfig.handler.AppLockConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/AppLockConfigHandler.kt:49)
	at com.wire.kalium.logic.feature.featureConfig.handler.AppLockConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/AppLockConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:75)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenFileSharingIsDisabledWithoutChange_whenSyncing_thenShouldStoreChangedAsFalse$lambda$7COROUTINE$7.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:224)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenFileSharingIsDisabledWithoutChange_whenSyncing_thenShouldStoreChangedAsFalse$lambda$7#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:211)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenFileSharingIsDisabledWithoutChange_whenSyncing_thenShouldStoreChangedAsFalse$lambda$7$FUNCTION_REFERENCE$7.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:211)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenFileSharingIsDisabledWithoutChange_whenSyncing_thenShouldStoreChangedAsFalse(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:211)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenFileSharingIsDisabledWithoutChange_whenSyncing_thenShouldStoreChangedAsFalse$FUNCTION_REFERENCE$53.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:211)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenFileSharingIsDisabledWithoutChange_whenSyncing_thenShouldStoreChangedAsFalse$FUNCTION_REFERENCE$53.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:211)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenFileSharingChangedFromDisabledToEnabled_whenSyncing_thenShouldStoreChangedAsTrue[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.appLockStatus()

    Set up an expectation using:
        given(instance).coroutine { appLockStatus() }
            .then { ... }
    
    The following expectations were configured on the mock:
        setTeamSettingsSelfDeletionStatus(...)
        persistSecondFactorPasswordChallengeStatus(...)
        persistConferenceCalling(...)
        persistClassifiedDomainsStatus(...)
        setMigrationConfiguration(...)
        setSupportedProtocols(...)
        persistDefaultProtocol(...)
        persistFileSharingStatus(...)
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isFileSharingEnabled()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#appLockStatus#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:27)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isTeamAppLockEnabledCOROUTINE$39.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:363)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isTeamAppLockEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:362)
	at com.wire.kalium.logic.feature.featureConfig.handler.AppLockConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/AppLockConfigHandler.kt:49)
	at com.wire.kalium.logic.feature.featureConfig.handler.AppLockConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/AppLockConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:75)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenFileSharingChangedFromDisabledToEnabled_whenSyncing_thenShouldStoreChangedAsTrue$lambda$8COROUTINE$8.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:245)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenFileSharingChangedFromDisabledToEnabled_whenSyncing_thenShouldStoreChangedAsTrue$lambda$8#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:232)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenFileSharingChangedFromDisabledToEnabled_whenSyncing_thenShouldStoreChangedAsTrue$lambda$8$FUNCTION_REFERENCE$8.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:232)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenFileSharingChangedFromDisabledToEnabled_whenSyncing_thenShouldStoreChangedAsTrue(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:232)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenFileSharingChangedFromDisabledToEnabled_whenSyncing_thenShouldStoreChangedAsTrue$FUNCTION_REFERENCE$54.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:232)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenFileSharingChangedFromDisabledToEnabled_whenSyncing_thenShouldStoreChangedAsTrue$FUNCTION_REFERENCE$54.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:232)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenFileSharingChangedFromEnabledToDisabled_whenSyncing_thenShouldStoreChangedAsTrue[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.appLockStatus()

    Set up an expectation using:
        given(instance).coroutine { appLockStatus() }
            .then { ... }
    
    The following expectations were configured on the mock:
        setTeamSettingsSelfDeletionStatus(...)
        persistSecondFactorPasswordChallengeStatus(...)
        persistConferenceCalling(...)
        persistClassifiedDomainsStatus(...)
        setMigrationConfiguration(...)
        setSupportedProtocols(...)
        persistDefaultProtocol(...)
        persistFileSharingStatus(...)
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isFileSharingEnabled()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#appLockStatus#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:27)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isTeamAppLockEnabledCOROUTINE$39.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:363)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isTeamAppLockEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:362)
	at com.wire.kalium.logic.feature.featureConfig.handler.AppLockConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/AppLockConfigHandler.kt:49)
	at com.wire.kalium.logic.feature.featureConfig.handler.AppLockConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/AppLockConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:75)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenFileSharingChangedFromEnabledToDisabled_whenSyncing_thenShouldStoreChangedAsTrue$lambda$9COROUTINE$9.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:270)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenFileSharingChangedFromEnabledToDisabled_whenSyncing_thenShouldStoreChangedAsTrue$lambda$9#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:257)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenFileSharingChangedFromEnabledToDisabled_whenSyncing_thenShouldStoreChangedAsTrue$lambda$9$FUNCTION_REFERENCE$9.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:257)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenFileSharingChangedFromEnabledToDisabled_whenSyncing_thenShouldStoreChangedAsTrue(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:257)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenFileSharingChangedFromEnabledToDisabled_whenSyncing_thenShouldStoreChangedAsTrue$FUNCTION_REFERENCE$55.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:257)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenFileSharingChangedFromEnabledToDisabled_whenSyncing_thenShouldStoreChangedAsTrue$FUNCTION_REFERENCE$55.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:257)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenGuestRoomLinkIsEnabledWithoutChange_whenSyncing_thenShouldStoreAsDisabled[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.isFileSharingEnabled()

    Set up an expectation using:
        given(instance).coroutine { isFileSharingEnabled() }
            .then { ... }
    
    The following expectations were configured on the mock:
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isGuestRoomLinkEnabled()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:57)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isFileSharingEnabledCOROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:130)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:30)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:67)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenGuestRoomLinkIsEnabledWithoutChange_whenSyncing_thenShouldStoreAsDisabled$lambda$10COROUTINE$10.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:294)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenGuestRoomLinkIsEnabledWithoutChange_whenSyncing_thenShouldStoreAsDisabled$lambda$10#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:279)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenGuestRoomLinkIsEnabledWithoutChange_whenSyncing_thenShouldStoreAsDisabled$lambda$10$FUNCTION_REFERENCE$10.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:279)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenGuestRoomLinkIsEnabledWithoutChange_whenSyncing_thenShouldStoreAsDisabled(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:279)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenGuestRoomLinkIsEnabledWithoutChange_whenSyncing_thenShouldStoreAsDisabled$FUNCTION_REFERENCE$56.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:279)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenGuestRoomLinkIsEnabledWithoutChange_whenSyncing_thenShouldStoreAsDisabled$FUNCTION_REFERENCE$56.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:279)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenGuestRoomLinkIsDisabledWithoutChange_whenSyncing_thenShouldStoreChangedAsFalse[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.isFileSharingEnabled()

    Set up an expectation using:
        given(instance).coroutine { isFileSharingEnabled() }
            .then { ... }
    
    The following expectations were configured on the mock:
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isGuestRoomLinkEnabled()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:57)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isFileSharingEnabledCOROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:130)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:30)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:67)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenGuestRoomLinkIsDisabledWithoutChange_whenSyncing_thenShouldStoreChangedAsFalse$lambda$11COROUTINE$11.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:317)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenGuestRoomLinkIsDisabledWithoutChange_whenSyncing_thenShouldStoreChangedAsFalse$lambda$11#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:302)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenGuestRoomLinkIsDisabledWithoutChange_whenSyncing_thenShouldStoreChangedAsFalse$lambda$11$FUNCTION_REFERENCE$11.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:302)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenGuestRoomLinkIsDisabledWithoutChange_whenSyncing_thenShouldStoreChangedAsFalse(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:302)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenGuestRoomLinkIsDisabledWithoutChange_whenSyncing_thenShouldStoreChangedAsFalse$FUNCTION_REFERENCE$57.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:302)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenGuestRoomLinkIsDisabledWithoutChange_whenSyncing_thenShouldStoreChangedAsFalse$FUNCTION_REFERENCE$57.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:302)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenGuestLinkChangedFromEnabledToDisabled_whenSyncing_thenShouldStoreChangedAsTrue[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.isFileSharingEnabled()

    Set up an expectation using:
        given(instance).coroutine { isFileSharingEnabled() }
            .then { ... }
    
    The following expectations were configured on the mock:
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isGuestRoomLinkEnabled()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:57)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isFileSharingEnabledCOROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:130)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:30)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:67)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenGuestLinkChangedFromEnabledToDisabled_whenSyncing_thenShouldStoreChangedAsTrue$lambda$12COROUTINE$12.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:340)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenGuestLinkChangedFromEnabledToDisabled_whenSyncing_thenShouldStoreChangedAsTrue$lambda$12#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:325)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenGuestLinkChangedFromEnabledToDisabled_whenSyncing_thenShouldStoreChangedAsTrue$lambda$12$FUNCTION_REFERENCE$12.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:325)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenGuestLinkChangedFromEnabledToDisabled_whenSyncing_thenShouldStoreChangedAsTrue(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:325)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenGuestLinkChangedFromEnabledToDisabled_whenSyncing_thenShouldStoreChangedAsTrue$FUNCTION_REFERENCE$58.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:325)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenGuestLinkChangedFromEnabledToDisabled_whenSyncing_thenShouldStoreChangedAsTrue$FUNCTION_REFERENCE$58.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:325)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenFileGuestLinkChangedFromDisabledToEnabled_whenSyncing_thenShouldStoreChangedAsTrue[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.isFileSharingEnabled()

    Set up an expectation using:
        given(instance).coroutine { isFileSharingEnabled() }
            .then { ... }
    
    The following expectations were configured on the mock:
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isGuestRoomLinkEnabled()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:57)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isFileSharingEnabledCOROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:130)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:30)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:67)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenFileGuestLinkChangedFromDisabledToEnabled_whenSyncing_thenShouldStoreChangedAsTrue$lambda$13COROUTINE$13.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:364)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenFileGuestLinkChangedFromDisabledToEnabled_whenSyncing_thenShouldStoreChangedAsTrue$lambda$13#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:349)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenFileGuestLinkChangedFromDisabledToEnabled_whenSyncing_thenShouldStoreChangedAsTrue$lambda$13$FUNCTION_REFERENCE$13.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:349)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenFileGuestLinkChangedFromDisabledToEnabled_whenSyncing_thenShouldStoreChangedAsTrue(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:349)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenFileGuestLinkChangedFromDisabledToEnabled_whenSyncing_thenShouldStoreChangedAsTrue$FUNCTION_REFERENCE$59.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:349)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenFileGuestLinkChangedFromDisabledToEnabled_whenSyncing_thenShouldStoreChangedAsTrue$FUNCTION_REFERENCE$59.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:349)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenRemoteConfigIsEnable_whenBuildConfigIsNoRestriction_thenStateIsEnableAll[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.appLockStatus()

    Set up an expectation using:
        given(instance).coroutine { appLockStatus() }
            .then { ... }
    
    The following expectations were configured on the mock:
        setTeamSettingsSelfDeletionStatus(...)
        persistSecondFactorPasswordChallengeStatus(...)
        persistConferenceCalling(...)
        persistClassifiedDomainsStatus(...)
        setMigrationConfiguration(...)
        setSupportedProtocols(...)
        persistDefaultProtocol(...)
        persistFileSharingStatus(...)
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isFileSharingEnabled()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#appLockStatus#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:27)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isTeamAppLockEnabledCOROUTINE$39.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:363)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isTeamAppLockEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:362)
	at com.wire.kalium.logic.feature.featureConfig.handler.AppLockConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/AppLockConfigHandler.kt:49)
	at com.wire.kalium.logic.feature.featureConfig.handler.AppLockConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/AppLockConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:75)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenRemoteConfigIsEnable_whenBuildConfigIsNoRestriction_thenStateIsEnableAll$lambda$16COROUTINE$16.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:421)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenRemoteConfigIsEnable_whenBuildConfigIsNoRestriction_thenStateIsEnableAll$lambda$16#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:407)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenRemoteConfigIsEnable_whenBuildConfigIsNoRestriction_thenStateIsEnableAll$lambda$16$FUNCTION_REFERENCE$16.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:407)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenRemoteConfigIsEnable_whenBuildConfigIsNoRestriction_thenStateIsEnableAll(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:407)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenRemoteConfigIsEnable_whenBuildConfigIsNoRestriction_thenStateIsEnableAll$FUNCTION_REFERENCE$62.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:407)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenRemoteConfigIsEnable_whenBuildConfigIsNoRestriction_thenStateIsEnableAll$FUNCTION_REFERENCE$62.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:407)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenRemoteConfigIsEnable_whenBuildConfigIsRestrictSome_thenStateIsRestrictSome[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.appLockStatus()

    Set up an expectation using:
        given(instance).coroutine { appLockStatus() }
            .then { ... }
    
    The following expectations were configured on the mock:
        setTeamSettingsSelfDeletionStatus(...)
        persistSecondFactorPasswordChallengeStatus(...)
        persistConferenceCalling(...)
        persistClassifiedDomainsStatus(...)
        setMigrationConfiguration(...)
        setSupportedProtocols(...)
        persistDefaultProtocol(...)
        persistFileSharingStatus(...)
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isFileSharingEnabled()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#appLockStatus#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:27)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isTeamAppLockEnabledCOROUTINE$39.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:363)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isTeamAppLockEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:362)
	at com.wire.kalium.logic.feature.featureConfig.handler.AppLockConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/AppLockConfigHandler.kt:49)
	at com.wire.kalium.logic.feature.featureConfig.handler.AppLockConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/AppLockConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:75)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenRemoteConfigIsEnable_whenBuildConfigIsRestrictSome_thenStateIsRestrictSome$lambda$17COROUTINE$17.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:443)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenRemoteConfigIsEnable_whenBuildConfigIsRestrictSome_thenStateIsRestrictSome$lambda$17#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:429)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenRemoteConfigIsEnable_whenBuildConfigIsRestrictSome_thenStateIsRestrictSome$lambda$17$FUNCTION_REFERENCE$17.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:429)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenRemoteConfigIsEnable_whenBuildConfigIsRestrictSome_thenStateIsRestrictSome(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:429)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenRemoteConfigIsEnable_whenBuildConfigIsRestrictSome_thenStateIsRestrictSome$FUNCTION_REFERENCE$63.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:429)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenRemoteConfigIsEnable_whenBuildConfigIsRestrictSome_thenStateIsRestrictSome$FUNCTION_REFERENCE$63.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:429)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenRemoteConfigIsDisable_whenBuildConfigIsRestrictSome_thenStateIsDisable[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.isFileSharingEnabled()

    Set up an expectation using:
        given(instance).coroutine { isFileSharingEnabled() }
            .then { ... }
    
    The following expectations were configured on the mock:
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:57)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isFileSharingEnabledCOROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:130)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:30)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:67)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenRemoteConfigIsDisable_whenBuildConfigIsRestrictSome_thenStateIsDisable$lambda$18COROUTINE$18.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:461)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenRemoteConfigIsDisable_whenBuildConfigIsRestrictSome_thenStateIsDisable$lambda$18#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:451)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenRemoteConfigIsDisable_whenBuildConfigIsRestrictSome_thenStateIsDisable$lambda$18$FUNCTION_REFERENCE$18.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:451)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenRemoteConfigIsDisable_whenBuildConfigIsRestrictSome_thenStateIsDisable(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:451)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenRemoteConfigIsDisable_whenBuildConfigIsRestrictSome_thenStateIsDisable$FUNCTION_REFERENCE$64.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:451)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenRemoteConfigIsDisable_whenBuildConfigIsRestrictSome_thenStateIsDisable$FUNCTION_REFERENCE$64.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:451)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenRemoteConfigIsDisable_whenBuildConfigIsNoRestriction_thenStateIsDisable[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.isFileSharingEnabled()

    Set up an expectation using:
        given(instance).coroutine { isFileSharingEnabled() }
            .then { ... }
    
    The following expectations were configured on the mock:
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:57)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isFileSharingEnabledCOROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:130)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:30)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:67)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenRemoteConfigIsDisable_whenBuildConfigIsNoRestriction_thenStateIsDisable$lambda$19COROUTINE$19.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:479)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenRemoteConfigIsDisable_whenBuildConfigIsNoRestriction_thenStateIsDisable$lambda$19#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:469)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenRemoteConfigIsDisable_whenBuildConfigIsNoRestriction_thenStateIsDisable$lambda$19$FUNCTION_REFERENCE$19.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:469)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenRemoteConfigIsDisable_whenBuildConfigIsNoRestriction_thenStateIsDisable(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:469)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenRemoteConfigIsDisable_whenBuildConfigIsNoRestriction_thenStateIsDisable$FUNCTION_REFERENCE$65.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:469)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenRemoteConfigIsDisable_whenBuildConfigIsNoRestriction_thenStateIsDisable$FUNCTION_REFERENCE$65.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:469)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenTeamSettingsSelfDeletionIsDisabledInKaliumConfigs_whenSyncing_thenItDisablesIt[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.isFileSharingEnabled()

    Set up an expectation using:
        given(instance).coroutine { isFileSharingEnabled() }
            .then { ... }
    
    The following expectations were configured on the mock:
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        setTeamSettingsSelfDeletionStatus(any<TeamSettingsSelfDeletionStatusEntity>)
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:57)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isFileSharingEnabledCOROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:130)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:30)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:67)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenTeamSettingsSelfDeletionIsDisabledInKaliumConfigs_whenSyncing_thenItDisablesIt$lambda$22COROUTINE$20.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:496)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenTeamSettingsSelfDeletionIsDisabledInKaliumConfigs_whenSyncing_thenItDisablesIt$lambda$22#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:487)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenTeamSettingsSelfDeletionIsDisabledInKaliumConfigs_whenSyncing_thenItDisablesIt$lambda$22$FUNCTION_REFERENCE$20.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:487)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenTeamSettingsSelfDeletionIsDisabledInKaliumConfigs_whenSyncing_thenItDisablesIt(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:487)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenTeamSettingsSelfDeletionIsDisabledInKaliumConfigs_whenSyncing_thenItDisablesIt$FUNCTION_REFERENCE$66.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:487)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenTeamSettingsSelfDeletionIsDisabledInKaliumConfigs_whenSyncing_thenItDisablesIt$FUNCTION_REFERENCE$66.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:487)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenNewEnabledWithNullEnforcedTimeoutTeamSettingsSelfDeletionEvent_whenSyncing_thenItIsJustEnabled[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.isFileSharingEnabled()

    Set up an expectation using:
        given(instance).coroutine { isFileSharingEnabled() }
            .then { ... }
    
    The following expectations were configured on the mock:
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        setTeamSettingsSelfDeletionStatus(any<TeamSettingsSelfDeletionStatusEntity>)
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:57)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isFileSharingEnabledCOROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:130)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:30)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:67)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenNewEnabledWithNullEnforcedTimeoutTeamSettingsSelfDeletionEvent_whenSyncing_thenItIsJustEnabled$lambda$24COROUTINE$21.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:523)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenNewEnabledWithNullEnforcedTimeoutTeamSettingsSelfDeletionEvent_whenSyncing_thenItIsJustEnabled$lambda$24#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:507)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenNewEnabledWithNullEnforcedTimeoutTeamSettingsSelfDeletionEvent_whenSyncing_thenItIsJustEnabled$lambda$24$FUNCTION_REFERENCE$21.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:507)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenNewEnabledWithNullEnforcedTimeoutTeamSettingsSelfDeletionEvent_whenSyncing_thenItIsJustEnabled(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:507)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenNewEnabledWithNullEnforcedTimeoutTeamSettingsSelfDeletionEvent_whenSyncing_thenItIsJustEnabled$FUNCTION_REFERENCE$67.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:507)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenNewEnabledWithNullEnforcedTimeoutTeamSettingsSelfDeletionEvent_whenSyncing_thenItIsJustEnabled$FUNCTION_REFERENCE$67.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:507)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenZeroEnforcedTeamSettingsSelfDeletionEvent_whenSyncing_thenItIsJustEnabled[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.isFileSharingEnabled()

    Set up an expectation using:
        given(instance).coroutine { isFileSharingEnabled() }
            .then { ... }
    
    The following expectations were configured on the mock:
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        setTeamSettingsSelfDeletionStatus(any<TeamSettingsSelfDeletionStatusEntity>)
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:57)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isFileSharingEnabledCOROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:130)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:30)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:67)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenZeroEnforcedTeamSettingsSelfDeletionEvent_whenSyncing_thenItIsJustEnabled$lambda$26COROUTINE$22.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:550)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenZeroEnforcedTeamSettingsSelfDeletionEvent_whenSyncing_thenItIsJustEnabled$lambda$26#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:534)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenZeroEnforcedTeamSettingsSelfDeletionEvent_whenSyncing_thenItIsJustEnabled$lambda$26$FUNCTION_REFERENCE$22.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:534)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenZeroEnforcedTeamSettingsSelfDeletionEvent_whenSyncing_thenItIsJustEnabled(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:534)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenZeroEnforcedTeamSettingsSelfDeletionEvent_whenSyncing_thenItIsJustEnabled$FUNCTION_REFERENCE$68.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:534)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenZeroEnforcedTeamSettingsSelfDeletionEvent_whenSyncing_thenItIsJustEnabled$FUNCTION_REFERENCE$68.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:534)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenNewEnforcedTeamSettingsSelfDeletionEvent_whenSyncing_thenItMapsToEnforced[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.isFileSharingEnabled()

    Set up an expectation using:
        given(instance).coroutine { isFileSharingEnabled() }
            .then { ... }
    
    The following expectations were configured on the mock:
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        setTeamSettingsSelfDeletionStatus(any<TeamSettingsSelfDeletionStatusEntity>)
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:57)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isFileSharingEnabledCOROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:130)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:30)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:67)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenNewEnforcedTeamSettingsSelfDeletionEvent_whenSyncing_thenItMapsToEnforced$lambda$28COROUTINE$23.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:578)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenNewEnforcedTeamSettingsSelfDeletionEvent_whenSyncing_thenItMapsToEnforced$lambda$28#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:561)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenNewEnforcedTeamSettingsSelfDeletionEvent_whenSyncing_thenItMapsToEnforced$lambda$28$FUNCTION_REFERENCE$23.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:561)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenNewEnforcedTeamSettingsSelfDeletionEvent_whenSyncing_thenItMapsToEnforced(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:561)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenNewEnforcedTeamSettingsSelfDeletionEvent_whenSyncing_thenItMapsToEnforced$FUNCTION_REFERENCE$69.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:561)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenNewEnforcedTeamSettingsSelfDeletionEvent_whenSyncing_thenItMapsToEnforced$FUNCTION_REFERENCE$69.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:561)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenE2EIIsDisabled_whenSyncing_thenItShouldBeStoredAsDisabled[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.isFileSharingEnabled()

    Set up an expectation using:
        given(instance).coroutine { isFileSharingEnabled() }
            .then { ... }
    
    The following expectations were configured on the mock:
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:57)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isFileSharingEnabledCOROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:130)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:30)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:67)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenE2EIIsDisabled_whenSyncing_thenItShouldBeStoredAsDisabled$lambda$29COROUTINE$24.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:603)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenE2EIIsDisabled_whenSyncing_thenItShouldBeStoredAsDisabled$lambda$29#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:593)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenE2EIIsDisabled_whenSyncing_thenItShouldBeStoredAsDisabled$lambda$29$FUNCTION_REFERENCE$24.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:593)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenE2EIIsDisabled_whenSyncing_thenItShouldBeStoredAsDisabled(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:593)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenE2EIIsDisabled_whenSyncing_thenItShouldBeStoredAsDisabled$FUNCTION_REFERENCE$70.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:593)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenE2EIIsDisabled_whenSyncing_thenItShouldBeStoredAsDisabled$FUNCTION_REFERENCE$70.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:593)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenE2EIIsEnabled_whenSyncing_thenItShouldBeStoredAsEnabled[iosX64] (com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.xml
Raw output
io.mockative.MissingExpectationError: A function was called without a matching expectation.

    An expectation was not given on the function:
        UserConfigDAOMock.isFileSharingEnabled()

    Set up an expectation using:
        given(instance).coroutine { isFileSharingEnabled() }
            .then { ... }
    
    The following expectations were configured on the mock:
        persistGuestRoomLinkFeatureFlag(...)
        getSupportedProtocols()
        getTeamSettingsSelfDeletionStatus()
        isGuestRoomLinkEnabled()
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.MissingExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:134)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:92)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.persistence.dao.config.UserConfigDAOMock#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/persistence/dao/config/UserConfigDAOMock.Mockative.kt:57)
	at com.wire.kalium.logic.configuration.UserConfigDataSource.$isFileSharingEnabledCOROUTINE$3.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:130)
	at com.wire.kalium.logic.configuration.UserConfigDataSource#isFileSharingEnabled#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/UserConfigRepository.kt:129)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler.$handleCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:32)
	at com.wire.kalium.logic.feature.featureConfig.handler.FileSharingConfigHandler#handle#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/handler/FileSharingConfigHandler.kt:30)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:67)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCase.kt:63)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenE2EIIsEnabled_whenSyncing_thenItShouldBeStoredAsEnabled$lambda$30COROUTINE$25.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:622)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.givenE2EIIsEnabled_whenSyncing_thenItShouldBeStoredAsEnabled$lambda$30#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:613)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest.$givenE2EIIsEnabled_whenSyncing_thenItShouldBeStoredAsEnabled$lambda$30$FUNCTION_REFERENCE$25.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:613)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.featureConfig.SyncFeatureConfigsUseCaseTest#givenE2EIIsEnabled_whenSyncing_thenItShouldBeStoredAsEnabled(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:613)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenE2EIIsEnabled_whenSyncing_thenItShouldBeStoredAsEnabled$FUNCTION_REFERENCE$71.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:613)
	at com.wire.kalium.logic.feature.featureConfig.$SyncFeatureConfigsUseCaseTest$test$0.$givenE2EIIsEnabled_whenSyncing_thenItShouldBeStoredAsEnabled$FUNCTION_REFERENCE$71.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/featureConfig/SyncFeatureConfigsUseCaseTest.kt:613)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.client.MarkEnablingE2EIAsNotifiedUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

whenMarkAsNotifiedIsCalledWithMoreThen1Day_thenSnoozeIsCalledWith1day[iosX64] (com.wire.kalium.logic.feature.client.MarkEnablingE2EIAsNotifiedUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.client.MarkEnablingE2EIAsNotifiedUseCaseTest.xml
Raw output
io.mockative.InvalidExpectationError: A function was called without a matching expectation.

    A blocking stub was expected, but a coroutine stub was configured on the function:
        UserConfigRepositoryMock.snoozeE2EINotification(1d)

    Set up an expectation using:
        given(instance).coroutine { snoozeE2EINotification(1d) }
            .then { ... }
    
    The following expectations were configured on the mock:
        snoozeE2EINotification(any<Duration>)
	at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:12)
	at io.mockative.MockativeError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:5)
	at io.mockative.InvalidExpectationError#<init>(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Errors.kt:153)
	at io.mockative.Mockable.throwMissingSuspendStubException#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:93)
	at io.mockative.Mockable.getSuspendStub#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:78)
	at io.mockative.Mockable.$suspendCOROUTINE$1.invokeSuspend#internal(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:208)
	at io.mockative.Mockable#suspend#suspend(/Users/runner/work/mockative/mockative/mockative/src/commonMain/kotlin/io/mockative/Mockable.kt:203)
	at com.wire.kalium.logic.configuration.UserConfigRepositoryMock#snoozeE2EINotification#suspend(/Users/runner/work/kalium/kalium/logic/build/generated/ksp/iosX64/iosX64Test/kotlin/com/wire/kalium/logic/configuration/UserConfigRepositoryMock.Mockative.kt:215)
	at com.wire.kalium.logic.feature.user.MarkEnablingE2EIAsNotifiedUseCaseImpl.$invokeCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/user/MarkEnablingE2EIAsNotifiedUseCase.kt:44)
	at com.wire.kalium.logic.feature.user.MarkEnablingE2EIAsNotifiedUseCaseImpl#invoke#suspend(/Users/runner/work/kalium/kalium/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/user/MarkEnablingE2EIAsNotifiedUseCase.kt:43)
	at com.wire.kalium.logic.feature.client.MarkEnablingE2EIAsNotifiedUseCaseTest.$whenMarkAsNotifiedIsCalledWithMoreThen1Day_thenSnoozeIsCalledWith1day$lambda$0COROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/client/MarkEnablingE2EIAsNotifiedUseCaseTest.kt:44)
	at com.wire.kalium.logic.feature.client.MarkEnablingE2EIAsNotifiedUseCaseTest.whenMarkAsNotifiedIsCalledWithMoreThen1Day_thenSnoozeIsCalledWith1day$lambda$0#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/client/MarkEnablingE2EIAsNotifiedUseCaseTest.kt:41)
	at com.wire.kalium.logic.feature.client.MarkEnablingE2EIAsNotifiedUseCaseTest.$whenMarkAsNotifiedIsCalledWithMoreThen1Day_thenSnoozeIsCalledWith1day$lambda$0$FUNCTION_REFERENCE$0.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/client/MarkEnablingE2EIAsNotifiedUseCaseTest.kt:41)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.client.MarkEnablingE2EIAsNotifiedUseCaseTest#whenMarkAsNotifiedIsCalledWithMoreThen1Day_thenSnoozeIsCalledWith1day(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/client/MarkEnablingE2EIAsNotifiedUseCaseTest.kt:41)
	at com.wire.kalium.logic.feature.client.$MarkEnablingE2EIAsNotifiedUseCaseTest$test$0.$whenMarkAsNotifiedIsCalledWithMoreThen1Day_thenSnoozeIsCalledWith1day$FUNCTION_REFERENCE$11.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/client/MarkEnablingE2EIAsNotifiedUseCaseTest.kt:41)
	at com.wire.kalium.logic.feature.client.$MarkEnablingE2EIAsNotifiedUseCaseTest$test$0.$whenMarkAsNotifiedIsCalledWithMoreThen1Day_thenSnoozeIsCalledWith1day$FUNCTION_REFERENCE$11.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/client/MarkEnablingE2EIAsNotifiedUseCaseTest.kt:41)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)