Skip to content

Commit e7fb9f3

Browse files
committed
Fix ParseLiveQueryCombineTests
1 parent d59450c commit e7fb9f3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Tests/ParseSwiftTests/ParseLiveQueryCombineTests.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,13 @@ class ParseLiveQueryCombineTests: XCTestCase {
8686
XCTFail("Should have produced failure")
8787
case .failure(let error):
8888
XCTAssertEqual(client.isSocketEstablished, false)
89-
XCTAssertNil(client.task)
9089
guard let parseError = error as? ParseError else {
9190
XCTFail("Should have casted to ParseError.")
9291
expectation1.fulfill()
9392
return
9493
}
9594
XCTAssertEqual(parseError.code, ParseError.Code.unknownError)
96-
XCTAssertTrue(parseError.message.contains("pinged"))
95+
XCTAssertTrue(parseError.message.contains("Socket status"))
9796
}
9897
expectation1.fulfill()
9998

0 commit comments

Comments
 (0)