Skip to content

Commit 9912196

Browse files
committed
fix(tokens): correct SwapViewModelErrorTest mocking
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
1 parent 74559fb commit 9912196

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/flipcash/shared/tokens/src/test/kotlin/com/flipcash/app/tokens/ui/SwapViewModelErrorTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class SwapViewModelErrorTest {
9898
fun `buy failure shows buySellFailed error`() = runTest(mainCoroutineRule.dispatcher) {
9999
dispatchers = TestDispatchers(testScheduler)
100100
transactionController.stub {
101-
onBlocking { buy(any(), any(), anyOrNull(), any(), any(), anyOrNull()) } doReturn
101+
onBlocking { buy(any(), any(), anyOrNull(), anyOrNull(), any(), anyOrNull(), anyOrNull()) } doReturn
102102
Result.failure(RuntimeException("buy failed"))
103103
}
104104

0 commit comments

Comments
 (0)