Skip to content

Commit f8b7119

Browse files
committed
test: Fix eg.initialSnapshot to use emailAddressVisibility override
I think we forgot this. No callers in the tests currently use this override, but it's probably a good idea to have it properly overriding anyway.
1 parent 03dfdf1 commit f8b7119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/example_data.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ InitialSnapshot initialSnapshot({
804804
zulipMergeBase: zulipMergeBase ?? recentZulipVersion,
805805
alertWords: alertWords ?? ['klaxon'],
806806
customProfileFields: customProfileFields ?? [],
807-
emailAddressVisibility: EmailAddressVisibility.everyone,
807+
emailAddressVisibility: emailAddressVisibility ?? EmailAddressVisibility.everyone,
808808
serverTypingStartedExpiryPeriodMilliseconds:
809809
serverTypingStartedExpiryPeriodMilliseconds ?? 15000,
810810
serverTypingStoppedWaitPeriodMilliseconds:

0 commit comments

Comments
 (0)