File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -133,10 +133,10 @@ extension PerAccountStoreTestExtension on PerAccountStore {
133
133
}
134
134
135
135
Future <void > addSubscription (Subscription subscription) async {
136
- addSubscriptions ([subscription]);
136
+ await addSubscriptions ([subscription]);
137
137
}
138
138
139
- void addSubscriptions (List <Subscription > subscriptions) {
139
+ Future < void > addSubscriptions (List <Subscription > subscriptions) async {
140
140
handleEvent (SubscriptionAddEvent (id: 1 , subscriptions: subscriptions));
141
141
}
142
142
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ void main() {
62
62
store = await testBinding.globalStore.perAccount (eg.selfAccount.id);
63
63
64
64
await store.addStreams (streams ?? []);
65
- store.addSubscriptions (subscriptions ?? []);
65
+ await store.addSubscriptions (subscriptions ?? []);
66
66
await store.addUsers (users ?? [eg.selfUser]);
67
67
68
68
for (final message in unreadMessages) {
You can’t perform that action at this time.
0 commit comments