Update test

pull/8223/head
Muxi Yan 8 years ago
parent 6c0b960a45
commit 8739e806fc
  1. 2
      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.");

Loading…
Cancel
Save