summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2020-09-01 15:45:22 -0400
committerJoel Fischer <joeljfischer@gmail.com>2020-09-01 15:45:22 -0400
commitebabd562bb38c70e0d4145686dc0f9d304b883f3 (patch)
tree3a5c8c9a6412a0be6c36b9fde5bf50a1e417e79d
parent36a7790d9075c0a44c0f5902e33ac0a5eeaecc76 (diff)
downloadsdl_ios-ebabd562bb38c70e0d4145686dc0f9d304b883f3.tar.gz
Fix a test not running properly
-rw-r--r--SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m
index 7357b9e9f..9bcf9ba5f 100644
--- a/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m
+++ b/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m
@@ -200,7 +200,7 @@ describe(@"a lock screen manager", ^{
beforeEach(^{
testOffStatus = [[SDLOnLockScreenStatus alloc] init];
testOffStatus.lockScreenStatus = SDLLockScreenStatusOff;
- SDLRPCNotificationNotification *testLockStatusNotification = [[SDLRPCNotificationNotification alloc] initWithName:SDLDidChangeLockScreenStatusNotification object:nil rpcNotification:testOffStatus];
+ SDLRPCNotificationNotification *testLockStatusNotification = [[SDLRPCNotificationNotification alloc] initWithName:SDLDidChangeLockScreenStatusNotification object:testManager.statusManager rpcNotification:testOffStatus];
#pragma clang diagnostic pop
[[NSNotificationCenter defaultCenter] postNotification:testLockStatusNotification];
});