Skip to content

Commit 29a7fd9

Browse files
committed
fix delete subscription test
This test had an extra update subscription operation. 1. This test shouldn't contain an update since it is testing a delete 2. An update and a delete could never be executed together as it's keys are different and therefore would never be grouped together.
1 parent 4f0be52 commit 29a7fd9

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -484,15 +484,6 @@ class SubscriptionOperationExecutorTests : FunSpec({
484484

485485
val operations =
486486
listOf<Operation>(
487-
UpdateSubscriptionOperation(
488-
appId,
489-
remoteOneSignalId,
490-
remoteSubscriptionId,
491-
SubscriptionType.PUSH,
492-
true,
493-
"pushToken2",
494-
SubscriptionStatus.SUBSCRIBED,
495-
),
496487
DeleteSubscriptionOperation(appId, remoteOneSignalId, remoteSubscriptionId),
497488
)
498489

0 commit comments

Comments
 (0)