Skip to content

Commit a71dbaf

Browse files
authored
Verify localizedDescription with FunctionsInvalid Argument error (#9857)
1 parent c941e2f commit a71dbaf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

FirebaseFunctions/Tests/ObjCIntegration/FIRIntegrationTests.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ - (void)testHttpError {
255255
completion:^(FIRHTTPSCallableResult *_Nullable result, NSError *_Nullable error) {
256256
XCTAssertNotNil(error);
257257
XCTAssertEqual(FIRFunctionsErrorCodeInvalidArgument, error.code);
258+
XCTAssertEqualObjects(error.localizedDescription, @"INVALID ARGUMENT");
258259
[expectation fulfill];
259260
}];
260261
[self waitForExpectations:@[ expectation ] timeout:10];

0 commit comments

Comments
 (0)