diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2017-01-24 10:17:56 -0800 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2017-01-24 10:17:56 -0800 |
commit | d61560c8e1c2edeadb81ea8bc33d7e232ea78369 (patch) | |
tree | 3213e80dec863354f2c0102f7c3f7c691038fb71 | |
parent | 5976ed11fb6d87b886027d627e28c703150e5f92 (diff) | |
download | sdl_ios-d61560c8e1c2edeadb81ea8bc33d7e232ea78369.tar.gz |
Fixed issue with test case not passing.
-rw-r--r-- | SmartDeviceLinkTests/DevAPISpecs/SDLLifecycleManagerSpec.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLLifecycleManagerSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLLifecycleManagerSpec.m index b6d370a57..ba680de00 100644 --- a/SmartDeviceLinkTests/DevAPISpecs/SDLLifecycleManagerSpec.m +++ b/SmartDeviceLinkTests/DevAPISpecs/SDLLifecycleManagerSpec.m @@ -268,7 +268,8 @@ describe(@"a lifecycle manager", ^{ it(@"should call the ready handler with success", ^{ SDLRegisterAppInterfaceResponse *response = [[SDLRegisterAppInterfaceResponse alloc] init]; response.resultCode = [SDLResult SUCCESS]; - + testManager.registerResponse = response; + [testManager.lifecycleStateMachine setToState:SDLLifecycleStateReady fromOldState:nil callEnterTransition:YES]; expect(@(readyHandlerSuccess)).to(equal(@YES)); |