diff options
author | NicoleYarroch <nicole@livio.io> | 2020-06-09 13:40:37 -0400 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2020-06-09 13:40:37 -0400 |
commit | 3bdd507b7b7d902ba28f059e001f436e98459c6d (patch) | |
tree | 0c0dc43ee9fb90ab1630be3bf59d6c8db8b7f854 | |
parent | d75e5bbba981648ed743f26c298eb95d4488fd06 (diff) | |
download | sdl_ios-3bdd507b7b7d902ba28f059e001f436e98459c6d.tar.gz |
Fixing failed tests
Signed-off-by: NicoleYarroch <nicole@livio.io>
-rw-r--r-- | SmartDeviceLinkTests/ProxySpecs/SDLSecondaryTransportManagerSpec.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/SmartDeviceLinkTests/ProxySpecs/SDLSecondaryTransportManagerSpec.m b/SmartDeviceLinkTests/ProxySpecs/SDLSecondaryTransportManagerSpec.m index eb54ac4ac..f4947008b 100644 --- a/SmartDeviceLinkTests/ProxySpecs/SDLSecondaryTransportManagerSpec.m +++ b/SmartDeviceLinkTests/ProxySpecs/SDLSecondaryTransportManagerSpec.m @@ -1056,12 +1056,12 @@ describe(@"the secondary transport manager ", ^{ testPrimaryTransport = [[SDLIAPTransport alloc] init]; testPrimaryProtocol.transport = testPrimaryTransport; + mockBackgroundTaskManager = OCMClassMock([SDLBackgroundTaskManager class]); + manager.backgroundTaskManager = mockBackgroundTaskManager; + dispatch_sync(testStateMachineQueue, ^{ [manager startWithPrimaryProtocol:testPrimaryProtocol]; }); - - mockBackgroundTaskManager = OCMClassMock([SDLBackgroundTaskManager class]); - manager.backgroundTaskManager = mockBackgroundTaskManager; }); context(@"app enters the background", ^{ |