File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -118,16 +118,19 @@ void main() {
118
118
ZulipStream ? channel,
119
119
String topic = someTopic,
120
120
UnreadMessagesSnapshot ? unreadMsgs,
121
+ int ? zulipFeatureLevel,
121
122
}) async {
122
123
final effectiveChannel = channel ?? someChannel;
123
124
124
125
addTearDown (testBinding.reset);
125
126
126
- await testBinding.globalStore.add (eg.selfAccount, eg.initialSnapshot (
127
+ final account = eg.selfAccount.copyWith (zulipFeatureLevel: zulipFeatureLevel);
128
+ await testBinding.globalStore.add (account, eg.initialSnapshot (
127
129
realmUsers: [eg.selfUser, eg.otherUser],
128
130
streams: [effectiveChannel],
129
131
subscriptions: [eg.subscription (effectiveChannel)],
130
- unreadMsgs: unreadMsgs));
132
+ unreadMsgs: unreadMsgs,
133
+ zulipFeatureLevel: zulipFeatureLevel));
131
134
store = await testBinding.globalStore.perAccount (eg.selfAccount.id);
132
135
connection = store.connection as FakeApiConnection ;
133
136
}
You can’t perform that action at this time.
0 commit comments