Skip to content

test [nfc]: Make globalSettings optional on TestGlobalStore#1403

Merged
chrisbobbe merged 1 commit intozulip:mainfrom
gnprice:pr-test-default-settings
Mar 12, 2025
Merged

test [nfc]: Make globalSettings optional on TestGlobalStore#1403
chrisbobbe merged 1 commit intozulip:mainfrom
gnprice:pr-test-default-settings

Conversation

@gnprice
Copy link
Copy Markdown
Member

@gnprice gnprice commented Mar 12, 2025

This has a natural default, at least in tests, because most tests don't care about the specific value of the global settings.

(By contrast most tests that interact with the store at all will care what set of accounts exist, so there isn't as natural a default for accounts.)

Originally noticed this here:
#1386 (comment)

This has a natural default, at least in tests, because most tests
don't care about the specific value of the global settings.

(By contrast most tests that interact with the store at all will
care what set of accounts exist, so there isn't as natural a default
for `accounts`.)

Originally noticed this here:
  zulip#1386 (comment)
@gnprice gnprice requested a review from chrisbobbe March 12, 2025 03:16
@gnprice gnprice added the maintainer review PR ready for review by Zulip maintainers label Mar 12, 2025
@gnprice
Copy link
Copy Markdown
Member Author

gnprice commented Mar 12, 2025

(FYI @PIG208 since we just introduced this in #1167.)

@chrisbobbe
Copy link
Copy Markdown
Collaborator

Thanks, LGTM! Merging.

@chrisbobbe chrisbobbe merged commit 580474b into zulip:main Mar 12, 2025
@gnprice gnprice deleted the pr-test-default-settings branch March 12, 2025 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer review PR ready for review by Zulip maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants