Skip to content

fix: pass missing biometricService to AppSessionController in tests#25

Merged
mikebarkmin merged 1 commit intomainfrom
copilot/fix-missing-biometric-service-argument
Apr 27, 2026
Merged

fix: pass missing biometricService to AppSessionController in tests#25
mikebarkmin merged 1 commit intomainfrom
copilot/fix-missing-biometric-service-argument

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 27, 2026

AppSessionController was updated to require biometricService as a named parameter, but three test files that construct it were not updated accordingly, causing analysis errors.

Changes

  • Added import 'package:classi/core/security/biometric_service.dart' to each affected test
  • Passed biometricService: BiometricService() to every AppSessionController(...) call in:
    • test/app_entry_flow_test.dart
    • test/app_session_controller_test.dart
    • test/router_provider_test.dart
controller = AppSessionController(
  keyService: KeyService(),
  databasePathService: ...,
  securityPreferencesService: SecurityPreferencesService(),
  libraryBackupPreferencesService: LibraryBackupPreferencesService(),
  libraryBackupService: LibraryBackupService(),
  biometricService: BiometricService(), // added
);

@mikebarkmin mikebarkmin marked this pull request as ready for review April 27, 2026 21:30
@mikebarkmin mikebarkmin merged commit 5f8d091 into main Apr 27, 2026
1 check passed
@mikebarkmin mikebarkmin deleted the copilot/fix-missing-biometric-service-argument branch April 27, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants