Skip to content

Commit ffa41be

Browse files
fombalanggnprice
authored andcommitted
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 9fde534 commit ffa41be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/example_data.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ InitialSnapshot initialSnapshot({
801801
zulipMergeBase: zulipMergeBase ?? recentZulipVersion,
802802
alertWords: alertWords ?? ['klaxon'],
803803
customProfileFields: customProfileFields ?? [],
804-
emailAddressVisibility: EmailAddressVisibility.everyone,
804+
emailAddressVisibility: emailAddressVisibility ?? EmailAddressVisibility.everyone,
805805
serverTypingStartedExpiryPeriodMilliseconds:
806806
serverTypingStartedExpiryPeriodMilliseconds ?? 15000,
807807
serverTypingStoppedWaitPeriodMilliseconds:

0 commit comments

Comments
 (0)