Skip to content

[Notifier] Add tests for option classes #61496

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

Open
wants to merge 8 commits into
base: 7.4
Choose a base branch
from

Conversation

OskarStark
Copy link
Contributor

Q A
Branch? 7.4
Bug fix? no
New feature? no
Deprecations? no
Issues --
License MIT

@OskarStark OskarStark self-assigned this Aug 21, 2025
@carsonbot carsonbot added this to the 7.4 milestone Aug 21, 2025
- Add tests for Firebase notification options (Android, iOS, Web)
- Add tests for LinkedIn, RocketChat, Telegram, and Zulip options
- Ensure consistent test coverage across all notifier bridges
Replace multiple assertArrayHasKey assertions with single assertSame
for better readability and maintainability
Ensure expected value is the first argument and actual value is the
second argument in assertSame() calls for better error messages
@OskarStark OskarStark force-pushed the add-notifier-option-tests branch from 5a00b71 to 72de613 Compare August 21, 2025 20:19
@nicolas-grekas
Copy link
Member

Failures are related.

- Fix Telegram InlineKeyboardButton import path and use inlineKeyboard() method
- Update LinkedIn test expectations to include attributes array and fix AuthorShare constructor
- Update RocketChat test expectations to match current empty array behavior
@OskarStark OskarStark requested a review from xabbuh August 24, 2025 11:06
@OskarStark
Copy link
Contributor Author

Failures are related.

fixed @nicolas-grekas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants