We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c259079 commit ceee14eCopy full SHA for ceee14e
FirebaseStorage/Tests/Integration/StorageIntegration.swift
@@ -204,7 +204,8 @@ class StorageResultTests: StorageIntegrationCommon {
204
case let .unauthorized(bucket, object, serverError):
205
XCTAssertEqual(bucket, "ios-opensource-samples.appspot.com")
206
XCTAssertEqual(object, file)
207
- XCTAssertNil(serverError)
+ XCTAssertNotNil(serverError)
208
+ XCTAssertEqual(serverError["ResponseErrorCode"] as? Int, 403)
209
expectation.fulfill()
210
default:
211
XCTFail("Failed with unexpected error: \(error)")
0 commit comments