We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c7dc72 commit bda9b6aCopy full SHA for bda9b6a
1 file changed
Tests/ApolloCacheDependentTests/StarWarsServerCachingRoundtripTests.swift
@@ -53,10 +53,7 @@ class StarWarsServerCachingRoundtripTests: XCTestCase {
53
expectation.fulfill()
54
return
55
case .success(let fetchGraphQLResult):
56
- if let errors = fetchGraphQLResult.errors {
57
- // We aren't expecting errors, so fail the test, but don't kill the rest of the checks.
58
- XCTFail("Errors in query result: \(errors)")
59
- }
+ XCTAssertNil(fetchGraphQLResult.errors)
60
61
guard fetchGraphQLResult.data != nil else {
62
XCTFail("No query result data from fetching!")
0 commit comments