Skip to content

Commit f5b9316

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 4e5a7e6 commit f5b9316

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
@@ -44,7 +44,6 @@ void main() {
4444
Future<void> prepareComposeBox(WidgetTester tester, {
4545
required Narrow narrow,
4646
User? selfUser,
47-
int? realmWaitingPeriodThreshold,
4847
List<User> users = const [],
4948
List<ZulipStream> streams = const [],
5049
}) async {
@@ -55,8 +54,7 @@ void main() {
5554
addTearDown(testBinding.reset);
5655
selfUser ??= eg.selfUser;
5756
final selfAccount = eg.account(user: selfUser);
58-
await testBinding.globalStore.add(selfAccount, eg.initialSnapshot(
59-
realmWaitingPeriodThreshold: realmWaitingPeriodThreshold));
57+
await testBinding.globalStore.add(selfAccount, eg.initialSnapshot());
6058

6159
store = await testBinding.globalStore.perAccount(selfAccount.id);
6260

0 commit comments

Comments
 (0)