Skip to content

Commit 2e73534

Browse files
committed
compose test [nfc]: Remove unused prepareComposeBox param
The parameter `realmWaitingPeriodThreshold` was added in commit 157418c but it was never used. Signed-off-by: Zixuan James Li <[email protected]>
1 parent 2f91244 commit 2e73534

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/widgets/compose_box_test.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ void main() {
4747
Future<void> prepareComposeBox(WidgetTester tester, {
4848
required Narrow narrow,
4949
User? selfUser,
50-
int? realmWaitingPeriodThreshold,
5150
List<User> users = const [],
5251
List<ZulipStream> streams = const [],
5352
}) async {
@@ -58,8 +57,7 @@ void main() {
5857
addTearDown(testBinding.reset);
5958
selfUser ??= eg.selfUser;
6059
final selfAccount = eg.account(user: selfUser);
61-
await testBinding.globalStore.add(selfAccount, eg.initialSnapshot(
62-
realmWaitingPeriodThreshold: realmWaitingPeriodThreshold));
60+
await testBinding.globalStore.add(selfAccount, eg.initialSnapshot());
6361

6462
store = await testBinding.globalStore.perAccount(selfAccount.id);
6563

0 commit comments

Comments
 (0)