diff options
author | NicoleYarroch <nicole@livio.io> | 2020-09-23 13:56:48 -0400 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2020-09-23 13:56:48 -0400 |
commit | 1261a01a0287ec4d5f758662cceaa039d42d4cdd (patch) | |
tree | a573a18491c324f4a60a5c42de5a0fc5d94a8c84 | |
parent | b791accc7cfb4a4d03c88e6ca4b8305df107649b (diff) | |
download | sdl_ios-1261a01a0287ec4d5f758662cceaa039d42d4cdd.tar.gz |
Fixed lock screen manager tests
Signed-off-by: NicoleYarroch <nicole@livio.io>
-rw-r--r-- | SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m index 50bf195be..a66dd8868 100644 --- a/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m +++ b/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m @@ -116,7 +116,7 @@ describe(@"a lock screen manager", ^{ testDriverDistraction = [[SDLOnDriverDistraction alloc] init]; - [[NSNotificationCenter defaultCenter] postNotificationName:SDLDidChangeLockScreenStatusNotification object:testManager.statusManager userInfo:@{SDLNotificationUserInfoObject: testRequiredStatus}]; + [[NSNotificationCenter defaultCenter] postNotificationName:SDLDidChangeLockScreenStatusNotification object:dispatcherMock userInfo:@{SDLNotificationUserInfoObject: testRequiredStatus}]; }); it(@"should have presented the lock screen and the lockscreen should not have a vehicle icon", ^{ @@ -192,7 +192,7 @@ describe(@"a lock screen manager", ^{ testOffStatus = [[SDLLockScreenStatusInfo alloc] init]; testOffStatus.lockScreenStatus = SDLLockScreenStatusOff; - [[NSNotificationCenter defaultCenter] postNotificationName:SDLDidChangeLockScreenStatusNotification object:testManager.statusManager userInfo:@{SDLNotificationUserInfoObject: testOffStatus}]; + [[NSNotificationCenter defaultCenter] postNotificationName:SDLDidChangeLockScreenStatusNotification object:dispatcherMock userInfo:@{SDLNotificationUserInfoObject: testOffStatus}]; }); it(@"should have dismissed the lock screen", ^{ |