Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

gnprice
Copy link
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
Member Author

gnprice commented Mar 12, 2025

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

@chrisbobbe
Copy link
Collaborator

Thanks, LGTM! Merging.

@chrisbobbe chrisbobbe merged commit 580474b into zulip:main Mar 12, 2025
1 check passed
@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