You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/swift-sdk-swift-tests/InAppTests.swift
+25-5Lines changed: 25 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -621,10 +621,18 @@ class InAppTests: XCTestCase {
621
621
inAppFetcher: mockInAppFetcher
622
622
)
623
623
624
-
mockInAppFetcher.mockInAppPayloadFromServer(internalApi: internalApi,TestInAppPayloadGenerator.createPayloadWithUrl(numMessages:3)).onSuccess{ _ in
624
+
mockInAppFetcher.mockInAppPayloadFromServer(internalApi: internalApi,TestInAppPayloadGenerator.createPayloadWithUrl(numMessages:3)).onSuccess{[weak internalApi] _ in
mockInAppFetcher.mockInAppPayloadFromServer(internalApi: internalApi,TestInAppPayloadGenerator.createPayloadWithUrl(numMessages:2)).onSuccess{ _ in
631
+
mockInAppFetcher.mockInAppPayloadFromServer(internalApi: internalApi,TestInAppPayloadGenerator.createPayloadWithUrl(numMessages:2)).onSuccess{[weak internalApi] _ in
@@ -1043,7 +1051,11 @@ class InAppTests: XCTestCase {
1043
1051
inAppPersister:InAppFilePersister()
1044
1052
)
1045
1053
1046
-
mockInAppFetcher.mockInAppPayloadFromServer(internalApi: internalApi1,TestInAppPayloadGenerator.createPayloadWithUrl(indices:[1,3,2])).onSuccess{ _ in
1054
+
mockInAppFetcher.mockInAppPayloadFromServer(internalApi: internalApi1,TestInAppPayloadGenerator.createPayloadWithUrl(indices:[1,3,2])).onSuccess{[weak internalApi1] _ in
0 commit comments