diff options
author | Satbir Tanda <satbirtanda@gmail.com> | 2019-06-11 12:12:22 -0700 |
---|---|---|
committer | Satbir Tanda <satbirtanda@gmail.com> | 2019-06-11 12:12:22 -0700 |
commit | f3738c8d4b961f25ce7d623ff70215fbe32f302e (patch) | |
tree | 87bdabfaad25b49b03228ba3209a5305d8924260 | |
parent | 96b618a0ef53d2bf1b19c5847c697a08eff8c93a (diff) | |
download | sdl_ios-f3738c8d4b961f25ce7d623ff70215fbe32f302e.tar.gz |
Update SDLLockScreenManagerSpec.m
Remove extra notification
-rw-r--r-- | SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m index 5096babd9..a2e6eaaa7 100644 --- a/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m +++ b/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m @@ -87,7 +87,6 @@ describe(@"a lock screen manager", ^{ describe(@"when the lock screen status becomes REQUIRED", ^{ __block SDLOnLockScreenStatus *testRequiredStatus = nil; __block SDLOnDriverDistraction *testDriverDistraction = nil; - __block SDLRPCNotificationNotification *testDriverDistractionNotification = nil; beforeEach(^{ testRequiredStatus = [[SDLOnLockScreenStatus alloc] init]; @@ -95,13 +94,6 @@ describe(@"a lock screen manager", ^{ SDLRPCNotificationNotification *testLockStatusNotification = [[SDLRPCNotificationNotification alloc] initWithName:SDLDidChangeLockScreenStatusNotification object:nil rpcNotification:testRequiredStatus]; [[NSNotificationCenter defaultCenter] postNotification:testLockStatusNotification]; - - testDriverDistraction = [[SDLOnDriverDistraction alloc] init]; - testDriverDistraction.lockScreenDismissalEnabled = @1; - - testDriverDistractionNotification = [[SDLRPCNotificationNotification alloc] initWithName:SDLDidChangeDriverDistractionStateNotification object:nil rpcNotification:testDriverDistraction]; - - [[NSNotificationCenter defaultCenter] postNotification:testDriverDistractionNotification]; }); it(@"should have presented the lock screen", ^{ |