diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2020-09-02 11:01:50 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2020-09-02 11:01:50 -0400 |
commit | 5aa3b88c22a1444abaef1a22d0d1a6b93d34a042 (patch) | |
tree | 5bb08bd3b4eb4bfdaaf3ea7b0d47564fc7bd3e3c | |
parent | 1dec3386776f718bedd0669e33913aba3055103a (diff) | |
download | sdl_ios-bugfix/issue-568-shift-project-files-to-public-private-folders.tar.gz |
Fix bug in lock screen manager testsbugfix/issue-568-shift-project-files-to-public-private-folders
-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]; }); |