diff options
author | Muxi Yan <mxyan@google.com> | 2016-10-03 09:41:31 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2016-10-03 09:41:31 -0700 |
commit | 8739e806fcc0358a404ff7e752fddb49898be409 (patch) | |
tree | 595cd207bee01f934dda10f93f9644f2b84f80f8 /src | |
parent | 6c0b960a45915227410d417bee5965712331bcf9 (diff) |
Update test
Diffstat (limited to 'src')
-rw-r--r-- | src/objective-c/tests/GRPCClientTests.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/tests/GRPCClientTests.m b/src/objective-c/tests/GRPCClientTests.m index ce6ceee586..77640525d5 100644 --- a/src/objective-c/tests/GRPCClientTests.m +++ b/src/objective-c/tests/GRPCClientTests.m @@ -330,7 +330,7 @@ static GRPCProtoMethod *kUnaryCallMethod; GRPCCall *call = [[GRPCCall alloc] initWithHost:kHostAddress path:kUnaryCallMethod.HTTPPath requestsWriter:requestsWriter]; - [GRPCCall setCallAttribute:GRPCCallAttrIdempotentRequest host:kHostAddress path:kUnaryCallMethod.HTTPPath]; + [GRPCCall setCallSafety:GRPCCallSafetyIdempotentRequest host:kHostAddress path:kUnaryCallMethod.HTTPPath]; id<GRXWriteable> responsesWriteable = [[GRXWriteable alloc] initWithValueHandler:^(NSData *value) { XCTAssertNotNil(value, @"nil value received as response."); |