Skip to content

Commit 379b05b

Browse files
committed
internal_link test [nfc]: Set up account from scratch
Signed-off-by: Zixuan James Li <[email protected]>
1 parent 6cca04a commit 379b05b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/model/internal_link_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Future<PerAccountStore> setupStore({
2222
List<ZulipStream>? streams,
2323
List<User>? users,
2424
}) async {
25-
final account = eg.selfAccount.copyWith(realmUrl: realmUrl);
25+
final account = eg.account(user: eg.selfUser, realmUrl: realmUrl);
2626
final store = eg.store(account: account);
2727
if (streams != null) {
2828
await store.addStreams(streams);

0 commit comments

Comments
 (0)