diff options
author | NicoleYarroch <nicole@livio.io> | 2018-06-26 09:19:41 -0400 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2018-06-26 09:19:41 -0400 |
commit | 58c2e05e39af15cb1d155770c421599177f883de (patch) | |
tree | 0c61190e10481f48cd181c6fe155dae34915cdca /SmartDeviceLinkTests/RPCSpecs | |
parent | 0e6993e691a5a518a70856c3ccb078a6fbdfcabe (diff) | |
download | sdl_ios-58c2e05e39af15cb1d155770c421599177f883de.tar.gz |
Deleted `resultCode` param from SDLPutFileResponse
Removed duplicate `resultCode` param from SDLPutFileResponse
Signed-off-by: NicoleYarroch <nicole@livio.io>
Diffstat (limited to 'SmartDeviceLinkTests/RPCSpecs')
-rw-r--r-- | SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLPutFileResponseSpec.m | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLPutFileResponseSpec.m b/SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLPutFileResponseSpec.m index 1f13976f5..9fb2f42ad 100644 --- a/SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLPutFileResponseSpec.m +++ b/SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLPutFileResponseSpec.m @@ -18,30 +18,25 @@ describe(@"Getter/Setter Tests", ^ { SDLPutFileResponse* testResponse = [[SDLPutFileResponse alloc] init]; testResponse.spaceAvailable = @1248; - testResponse.resultCode = SDLResultCorruptedData; - + expect(testResponse.spaceAvailable).to(equal(@1248)); - expect(testResponse.resultCode).to(equal(SDLResultCorruptedData)); }); it(@"Should get correctly when initialized", ^ { - NSMutableDictionary<NSString *, id> *dict = [@{SDLNameResponse: + NSDictionary<NSString *, id> *dict = @{SDLNameResponse: @{SDLNameParameters: @{SDLNameSpaceAvailable:@1248, - SDLNameResultCode:SDLResultSuccess }, - SDLNameOperationName:SDLNamePutFile}} mutableCopy]; + SDLNameOperationName:SDLNamePutFile}}; SDLPutFileResponse* testResponse = [[SDLPutFileResponse alloc] initWithDictionary:dict]; expect(testResponse.spaceAvailable).to(equal(@1248)); - expect(testResponse.resultCode).to(equal(SDLResultSuccess)); }); it(@"Should return nil if not set", ^ { SDLPutFileResponse* testResponse = [[SDLPutFileResponse alloc] init]; expect(testResponse.spaceAvailable).to(beNil()); - expect(testResponse.resultCode).to(beNil()); }); }); |