mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-08 12:24:39 +00:00
Merge branch 'refs/heads/develop' into feature/improvements
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user