@@ -36,7 +36,7 @@ class BiometricPolicySpec: QuickSpec {
3636
3737 afterEach {
3838 _ = credentialsManager. clear ( )
39- CredentialsManager . clearBiometricSession ( )
39+ credentialsManager . clearBiometricSession ( )
4040 }
4141
4242 // MARK: - BiometricPolicy Tests
@@ -197,7 +197,7 @@ class BiometricPolicySpec: QuickSpec {
197197 }
198198
199199 it ( " should clear session " ) {
200- CredentialsManager . clearBiometricSession ( )
200+ credentialsManager . clearBiometricSession ( )
201201 expect ( credentialsManager. isBiometricSessionValid ( ) ) . to ( beFalse ( ) )
202202 }
203203 }
@@ -215,7 +215,7 @@ class BiometricPolicySpec: QuickSpec {
215215 }
216216
217217 it ( " should clear session " ) {
218- CredentialsManager . clearBiometricSession ( )
218+ credentialsManager . clearBiometricSession ( )
219219 expect ( credentialsManager. isBiometricSessionValid ( ) ) . to ( beFalse ( ) )
220220 }
221221 }
@@ -230,7 +230,7 @@ class BiometricPolicySpec: QuickSpec {
230230 policy: . session( timeoutInSeconds: 300 ) )
231231
232232 // Clear the session
233- CredentialsManager . clearBiometricSession ( )
233+ credentialsManager . clearBiometricSession ( )
234234
235235 // Session should not be valid after clearing
236236 expect ( credentialsManager. isBiometricSessionValid ( ) ) . to ( beFalse ( ) )
@@ -240,7 +240,7 @@ class BiometricPolicySpec: QuickSpec {
240240 credentialsManager. enableBiometrics ( withTitle: " Touch to unlock " ,
241241 policy: . always)
242242
243- CredentialsManager . clearBiometricSession ( )
243+ credentialsManager . clearBiometricSession ( )
244244
245245 // Always policy should never have valid session
246246 expect ( credentialsManager. isBiometricSessionValid ( ) ) . to ( beFalse ( ) )
@@ -250,7 +250,7 @@ class BiometricPolicySpec: QuickSpec {
250250 credentialsManager. enableBiometrics ( withTitle: " Touch to unlock " ,
251251 policy: . appLifecycle( ) )
252252
253- CredentialsManager . clearBiometricSession ( )
253+ credentialsManager . clearBiometricSession ( )
254254
255255 expect ( credentialsManager. isBiometricSessionValid ( ) ) . to ( beFalse ( ) )
256256 }
@@ -278,7 +278,7 @@ class BiometricPolicySpec: QuickSpec {
278278
279279 // Multiple concurrent clears should not crash
280280 DispatchQueue . concurrentPerform ( iterations: 100 ) { _ in
281- CredentialsManager . clearBiometricSession ( )
281+ credentialsManager . clearBiometricSession ( )
282282 }
283283
284284 expect ( true ) . to ( beTrue ( ) ) // Test passes if no crash
@@ -293,7 +293,7 @@ class BiometricPolicySpec: QuickSpec {
293293 if index % 2 == 0 {
294294 _ = credentialsManager. isBiometricSessionValid ( )
295295 } else {
296- CredentialsManager . clearBiometricSession ( )
296+ credentialsManager . clearBiometricSession ( )
297297 }
298298 }
299299
@@ -318,7 +318,7 @@ class BiometricPolicySpec: QuickSpec {
318318 _ = credentialsManager1. clear ( )
319319 _ = credentialsManager2. clear ( )
320320 _ = credentialsManager3. clear ( )
321- CredentialsManager . clearBiometricSession ( )
321+ credentialsManager . clearBiometricSession ( )
322322 }
323323
324324 it ( " should share biometric session across instances " ) {
@@ -345,7 +345,7 @@ class BiometricPolicySpec: QuickSpec {
345345 policy: . session( timeoutInSeconds: 300 ) )
346346
347347 // Clear session affects all instances
348- CredentialsManager . clearBiometricSession ( )
348+ credentialsManager . clearBiometricSession ( )
349349
350350 expect ( credentialsManager1. isBiometricSessionValid ( ) ) . to ( beFalse ( ) )
351351 expect ( credentialsManager2. isBiometricSessionValid ( ) ) . to ( beFalse ( ) )
0 commit comments