diff --git a/FirebaseFunctions/Tests/ObjCIntegration/FIRIntegrationTests.m b/FirebaseFunctions/Tests/ObjCIntegration/FIRIntegrationTests.m index 7c09e87bdfc..61a830bfdab 100644 --- a/FirebaseFunctions/Tests/ObjCIntegration/FIRIntegrationTests.m +++ b/FirebaseFunctions/Tests/ObjCIntegration/FIRIntegrationTests.m @@ -255,6 +255,7 @@ - (void)testHttpError { completion:^(FIRHTTPSCallableResult *_Nullable result, NSError *_Nullable error) { XCTAssertNotNil(error); XCTAssertEqual(FIRFunctionsErrorCodeInvalidArgument, error.code); + XCTAssertEqualObjects(error.localizedDescription, @"INVALID ARGUMENT"); [expectation fulfill]; }]; [self waitForExpectations:@[ expectation ] timeout:10];