Skip to content

Commit 4573974

Browse files
committed
fix test by adding a missing mock
1 parent 0fce61c commit 4573974

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

OneSignalSDK/onesignal/core/src/test/java/com/onesignal/user/internal/operations/SubscriptionOperationExecutorTests.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ class SubscriptionOperationExecutorTests : FunSpec({
149149

150150
val mockSubscriptionsModelStore = mockk<SubscriptionModelStore>()
151151
val mockBuildUserService = mockk<IRebuildUserService>()
152+
every { mockBuildUserService.getRebuildOperationsIfCurrentUser(any(), any()) } answers { null }
152153

153154
val subscriptionOperationExecutor =
154155
SubscriptionOperationExecutor(

0 commit comments

Comments
 (0)