Skip to content

Commit 7c29bec

Browse files
gnpricechrisbobbe
authored andcommitted
actions test: Add missing NotificationService.debugReset calls
1 parent 30cb335 commit 7c29bec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/model/actions_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ void main() {
180180

181181
test('fallback to current token if acked is missing', () => awaitFakeAsync((async) async {
182182
await prepare(ackedPushToken: null);
183+
addTearDown(NotificationService.debugReset);
183184
NotificationService.instance.token = ValueNotifier('asdf');
184185

185186
final newConnection = separateConnection()
@@ -193,6 +194,7 @@ void main() {
193194

194195
test('no error if acked token and current token both missing', () => awaitFakeAsync((async) async {
195196
await prepare(ackedPushToken: null);
197+
addTearDown(NotificationService.debugReset);
196198
NotificationService.instance.token = ValueNotifier(null);
197199

198200
final newConnection = separateConnection();

0 commit comments

Comments
 (0)