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

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong 2026-08-05 22:15:50 +05:30 committed by GitHub
parent 555fbde840
commit db2033a4b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);