Skip to content

High performance self-hosted photo and video management solution.

chore: add reason for stopForegroundBackup in tests (#30573)

shenlongdb2033a4b026
diff --git a/mobile/test/providers/backup/drift_backup_provider_test.dart b/mobile/test/providers/backup/drift_backup_provider_test.dart
index 9a5f222301..205f564cd9 100644
--- a/mobile/test/providers/backup/drift_backup_provider_test.dart
+++ b/mobile/test/providers/backup/drift_backup_provider_test.dart
@@ -76,7 +76,7 @@ void main() {
firstRun('asset-1', 'remote-1');
expect(notifier.state.remainderCount, 0);
- notifier.stopForegroundBackup();
+ notifier.stopForegroundBackup(reason: "test");
final resumedRun = await startAndCaptureOnSuccess();
expect(notifier.state.remainderCount, 1);