Skip to content

Commit 73c12f6

Browse files
author
“Akshay
committed
Test Fix
1 parent e0706f6 commit 73c12f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit-tests/IterableAPIResponseTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class IterableAPIResponseTests: XCTestCase {
156156
createApiClient(networkSession: MockNetworkSession(statusCode: 401))
157157
.send(iterableRequest: iterableRequest).onError { sendError in
158158
xpectation.fulfill()
159-
XCTAssert(sendError.reason!.lowercased().contains("invalid api key"))
159+
XCTAssert(sendError.reason!.lowercased().contains("invalid request"))
160160
}
161161

162162
wait(for: [xpectation], timeout: testExpectationTimeout)

0 commit comments

Comments
 (0)