diff options
author | NicoleYarroch <nicole@livio.io> | 2017-10-26 13:13:52 -0400 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2017-10-26 13:13:52 -0400 |
commit | 9a6c1e42ddea49799db2db235ec6f26816dec230 (patch) | |
tree | b869546398d09d390f21344a12547426d7b409fa | |
parent | 0c592f43693c1a740e30748bb4224ef000039e7b (diff) | |
download | sdl_ios-bug/issue_781_secure_and_insecure_streaming.tar.gz |
Fixed broken test cases in `SDLLifecycleManagerSpec`bug/issue_781_secure_and_insecure_streaming
- Added the streaming media configuration to the SDLConfiguration in the `SDLLifecycleManagerSpec` as it must be set when the app type is NAVIGATION
-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 9a10d666a..17e42a750 100644 --- a/SmartDeviceLinkTests/DevAPISpecs/SDLLifecycleManagerSpec.m +++ b/SmartDeviceLinkTests/DevAPISpecs/SDLLifecycleManagerSpec.m @@ -26,6 +26,7 @@ #import "SDLResult.h" #import "SDLShow.h" #import "SDLStateMachine.h" +#import "SDLStreamingMediaConfiguration.h" #import "SDLStreamingMediaManager.h" #import "SDLTextAlignment.h" #import "SDLUnregisterAppInterface.h" @@ -80,7 +81,7 @@ describe(@"a lifecycle manager", ^{ testLifecycleConfig.shortAppName = @"Short Name"; testLifecycleConfig.appType = SDLAppHMITypeNavigation; - testConfig = [SDLConfiguration configurationWithLifecycle:testLifecycleConfig lockScreen:[SDLLockScreenConfiguration disabledConfiguration] logging:[SDLLogConfiguration defaultConfiguration]]; + testConfig = [SDLConfiguration configurationWithLifecycle:testLifecycleConfig lockScreen:[SDLLockScreenConfiguration disabledConfiguration] logging:[SDLLogConfiguration defaultConfiguration] streamingMedia:[SDLStreamingMediaConfiguration insecureConfiguration]]; testManager = [[SDLLifecycleManager alloc] initWithConfiguration:testConfig delegate:managerDelegateMock]; testManager.lockScreenManager = lockScreenManagerMock; testManager.fileManager = fileManagerMock; |