diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2021-03-09 15:45:06 -0500 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2021-03-09 15:45:06 -0500 |
commit | 49766aeb87f331e187320aee3d08a39d9d8dda89 (patch) | |
tree | 77fe9689639d464faf7309a47950d28b42ebbc62 | |
parent | 5e5abd82a0b5ec2c87e88fcc667d45cf7c614aea (diff) | |
download | sdl_ios-bugfix/issue-1929-failing-ci-tests.tar.gz |
More fix attemptsbugfix/issue-1929-failing-ci-tests
-rw-r--r-- | SmartDeviceLinkTests/SDLAlertManagerSpec.m | 4 | ||||
-rw-r--r-- | SmartDeviceLinkTests/SDLPresentAlertOperationSpec.m | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/SmartDeviceLinkTests/SDLAlertManagerSpec.m b/SmartDeviceLinkTests/SDLAlertManagerSpec.m index c84b82456..a4df0e7f2 100644 --- a/SmartDeviceLinkTests/SDLAlertManagerSpec.m +++ b/SmartDeviceLinkTests/SDLAlertManagerSpec.m @@ -158,8 +158,8 @@ describe(@"alert manager tests", ^{ SDLPresentAlertOperation *presentAlertOp2 = testAlertManager.transactionQueue.operations[1]; expect(presentAlertOp1.isExecuting).to(beTrue()); expect(presentAlertOp2.isExecuting).to(beFalse()); - expect(presentAlertOp1.currentWindowCapability).to(equal(testWindowCapability)); - expect(presentAlertOp2.currentWindowCapability).to(beNil()); + expect(presentAlertOp1.currentWindowCapability).toEventually(equal(testWindowCapability)); + expect(presentAlertOp2.currentWindowCapability).toEventually(beNil()); }); it(@"should start the queue if the new capability is not nil and update the pending operations with the new capability", ^{ diff --git a/SmartDeviceLinkTests/SDLPresentAlertOperationSpec.m b/SmartDeviceLinkTests/SDLPresentAlertOperationSpec.m index e9395e86c..599afa415 100644 --- a/SmartDeviceLinkTests/SDLPresentAlertOperationSpec.m +++ b/SmartDeviceLinkTests/SDLPresentAlertOperationSpec.m @@ -697,8 +697,8 @@ describe(@"SDLPresentAlertOperation", ^{ [testPresentAlertOperation start]; - expect(testPresentAlertOperation.internalError).to(equal([NSError sdl_alertManager_alertDataInvalid])); - expect(hasCalledOperationCompletionHandler).to(beTrue()); + expect(testPresentAlertOperation.internalError).toEventually(equal([NSError sdl_alertManager_alertDataInvalid])); + expect(hasCalledOperationCompletionHandler).toEventually(beTrue()); expect(testPresentAlertOperation.isFinished).toEventually(beTrue()); }); }); |