diff options
author | NicoleYarroch <nicole@livio.io> | 2020-09-23 13:58:20 -0400 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2020-09-23 13:58:20 -0400 |
commit | 5da69571059c04384ba380e376a5f3cb7448124b (patch) | |
tree | 8eba703f83c05c0cb446cc1d03ee6e091099eb6d | |
parent | 1261a01a0287ec4d5f758662cceaa039d42d4cdd (diff) | |
download | sdl_ios-5da69571059c04384ba380e376a5f3cb7448124b.tar.gz |
Fixed failing system request testbugfix/issue_1790_lockscreen_status_notification_broke
Signed-off-by: NicoleYarroch <nicole@livio.io>
-rw-r--r-- | SmartDeviceLinkTests/DevAPISpecs/SDLLifecycleSystemRequestHandlerSpec.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLLifecycleSystemRequestHandlerSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLLifecycleSystemRequestHandlerSpec.m index a722b218f..d606b9fc0 100644 --- a/SmartDeviceLinkTests/DevAPISpecs/SDLLifecycleSystemRequestHandlerSpec.m +++ b/SmartDeviceLinkTests/DevAPISpecs/SDLLifecycleSystemRequestHandlerSpec.m @@ -225,8 +225,8 @@ describe(@"SDLLifecycleSystemRequestHandler tests", ^{ [[NSNotificationCenter defaultCenter] postNotification:notification]; }); - it(@"should do nothing", ^{ - OCMReject([mockSession uploadTaskWithRequest:[OCMArg any] fromData:[OCMArg any] completionHandler:[OCMArg any]]).andReturn(nil); + it(@"should not send anything to the module", ^{ + expect(mockConnectionManager.receivedRequests).to(beEmpty()); }); }); }); |