From 308ea14b6e47ba55196f6f8a624ab84ac6c89f7e Mon Sep 17 00:00:00 2001 From: Philippe Casgrain Date: Wed, 27 Nov 2013 16:22:17 -0500 Subject: [PATCH 1/2] Removed automaticMode from tests automaticMode was removed in commit 498bd62cbb. --- Support/HockeySDKTests/BITAuthenticatorTests.m | 1 - 1 file changed, 1 deletion(-) diff --git a/Support/HockeySDKTests/BITAuthenticatorTests.m b/Support/HockeySDKTests/BITAuthenticatorTests.m index af68b0c490..7f8e401060 100644 --- a/Support/HockeySDKTests/BITAuthenticatorTests.m +++ b/Support/HockeySDKTests/BITAuthenticatorTests.m @@ -105,7 +105,6 @@ static void *kInstallationIdentification = &kInstallationIdentification; #pragma mark - Initial defaults - (void) testDefaultValues { - assertThatBool(_sut.automaticMode, equalToBool(YES)); assertThatBool(_sut.restrictApplicationUsage, equalToBool(NO)); assertThatBool(_sut.isIdentified, equalToBool(NO)); assertThatBool(_sut.isValidated, equalToBool(NO)); From ed1b546384c3d0020b48566de5368a64e944f7f8 Mon Sep 17 00:00:00 2001 From: Philippe Casgrain Date: Mon, 2 Dec 2013 13:30:35 -0500 Subject: [PATCH 2/2] Removed obsolete test The user is now required to call `authenticateInstallation` manually, which obviates the need for this test. Required call was implemented in 7052f0cd. --- Support/HockeySDKTests/BITAuthenticatorTests.m | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Support/HockeySDKTests/BITAuthenticatorTests.m b/Support/HockeySDKTests/BITAuthenticatorTests.m index 7f8e401060..5e3fab0ae5 100644 --- a/Support/HockeySDKTests/BITAuthenticatorTests.m +++ b/Support/HockeySDKTests/BITAuthenticatorTests.m @@ -300,16 +300,6 @@ static void *kInstallationIdentification = &kInstallationIdentification; } #pragma mark - Lifetime checks -- (void) testThatAuthenticationTriggersOnStart { - id delegateMock = mockProtocol(@protocol(BITAuthenticatorDelegate)); - _sut.delegate = delegateMock; - _sut.identificationType = BITAuthenticatorIdentificationTypeDevice; - - [_sut startManager]; - - [verify(delegateMock) authenticator:_sut willShowAuthenticationController:(id)anything()]; -} - - (void) testThatValidationTriggersOnDidBecomeActive { id delegateMock = mockProtocol(@protocol(BITAuthenticatorDelegate)); _sut.delegate = delegateMock;