Skip to content

Commit 3faf8e2

Browse files
committed
rm checking module in update test
Update allways follow from the module to resulting in making a network request to reflect it on the backed. An update operation will never result in property update to the model. This was proabably true at one point the code base, but if so it was a mistake.
1 parent 4573974 commit 3faf8e2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@ class SubscriptionOperationExecutorTests : FunSpec({
351351

352352
// Then
353353
response.result shouldBe ExecutionResult.SUCCESS
354-
subscriptionModel1.address shouldBe "pushToken3"
355354
coVerify(exactly = 1) {
356355
mockSubscriptionBackendService.updateSubscription(
357356
appId,

0 commit comments

Comments
 (0)