summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatbir Tanda <satbirtanda@gmail.com>2019-06-11 12:12:22 -0700
committerSatbir Tanda <satbirtanda@gmail.com>2019-06-11 12:12:22 -0700
commitf3738c8d4b961f25ce7d623ff70215fbe32f302e (patch)
tree87bdabfaad25b49b03228ba3209a5305d8924260
parent96b618a0ef53d2bf1b19c5847c697a08eff8c93a (diff)
downloadsdl_ios-f3738c8d4b961f25ce7d623ff70215fbe32f302e.tar.gz
Update SDLLockScreenManagerSpec.m
Remove extra notification
-rw-r--r--SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m8
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", ^{