diff --git a/app/src/test/kotlin/com/wire/android/ui/home/messagecomposer/attachments/IsFileSharingEnabledViewModelTest.kt b/app/src/test/kotlin/com/wire/android/ui/home/messagecomposer/attachments/IsFileSharingEnabledViewModelTest.kt index 12bec1162d5..6be85f8d4b1 100644 --- a/app/src/test/kotlin/com/wire/android/ui/home/messagecomposer/attachments/IsFileSharingEnabledViewModelTest.kt +++ b/app/src/test/kotlin/com/wire/android/ui/home/messagecomposer/attachments/IsFileSharingEnabledViewModelTest.kt @@ -72,7 +72,7 @@ class IsFileSharingEnabledViewModelTest { ) fun withFileSharingStatus(result: FileSharingStatus.Value) = apply { - every { isFileSharingEnabledUseCase() } returns FileSharingStatus ( + every { isFileSharingEnabledUseCase() } returns FileSharingStatus( result, true ) @@ -81,6 +81,5 @@ class IsFileSharingEnabledViewModelTest { fun arrange(block: Arrangement.() -> Unit) = apply(block).let { this to viewModel } - } }