Skip to content

Commit ce82603

Browse files
Fix compilation errors.
1 parent 1a8700f commit ce82603

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/swift-sdk-swift-tests/in-app-tests/InAppTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,9 +1319,9 @@ class InAppTests: XCTestCase {
13191319
let body = urlRequest.httpBody!.json() as! [String: Any]
13201320
TestUtils.validateMessageContext(messageId: "message1", saveToInbox: true, silentInbox: true, location: location, inBody: body)
13211321
if let deleteAction = source {
1322-
TestUtils.validateMatch(keyPath: KeyPath(.deleteAction), value: deleteAction.jsonValue as! String, inDictionary: body, message: "deleteAction should be nil")
1322+
TestUtils.validateMatch(keyPath: KeyPath(keys: JsonKey.deleteAction), value: deleteAction.jsonValue as! String, inDictionary: body, message: "deleteAction should be nil")
13231323
} else {
1324-
TestUtils.validateNil(keyPath: KeyPath(.deleteAction), inDictionary: body, message: "deleteAction should be nil")
1324+
TestUtils.validateNil(keyPath: KeyPath(keys: JsonKey.deleteAction), inDictionary: body, message: "deleteAction should be nil")
13251325
}
13261326
expectation1.fulfill()
13271327
}

0 commit comments

Comments
 (0)