diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2020-09-01 15:45:22 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2020-09-01 15:45:22 -0400 |
commit | ebabd562bb38c70e0d4145686dc0f9d304b883f3 (patch) | |
tree | 3a5c8c9a6412a0be6c36b9fde5bf50a1e417e79d | |
parent | 36a7790d9075c0a44c0f5902e33ac0a5eeaecc76 (diff) | |
download | sdl_ios-ebabd562bb38c70e0d4145686dc0f9d304b883f3.tar.gz |
Fix a test not running properly
-rw-r--r-- | SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m | 2 |
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]; }); |