From 0fe6beacc29ca372728c6f9dcfa3cc988478adc1 Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Fri, 27 May 2022 14:40:45 -0700 Subject: [PATCH] Verify localizedDescription with FunctionsInvalid Argument error --- FirebaseFunctions/Tests/ObjCIntegration/FIRIntegrationTests.m | 1 + 1 file changed, 1 insertion(+) 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];