summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuller, Alexander (A.) <amulle19@ford.com>2017-01-24 10:17:56 -0800
committerMuller, Alexander (A.) <amulle19@ford.com>2017-01-24 10:17:56 -0800
commitd61560c8e1c2edeadb81ea8bc33d7e232ea78369 (patch)
tree3213e80dec863354f2c0102f7c3f7c691038fb71
parent5976ed11fb6d87b886027d627e28c703150e5f92 (diff)
downloadsdl_ios-d61560c8e1c2edeadb81ea8bc33d7e232ea78369.tar.gz
Fixed issue with test case not passing.
-rw-r--r--SmartDeviceLinkTests/DevAPISpecs/SDLLifecycleManagerSpec.m3
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));