-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Notifier] Add telegram tests #34539
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
Conversation
src/Symfony/Component/Notifier/Bridge/Telegram/TelegramTransport.php
Outdated
Show resolved
Hide resolved
@@ -20,6 +20,9 @@ | |||
"symfony/http-client": "^4.3|^5.0", | |||
"symfony/notifier": "~5.0.0" | |||
}, | |||
"require-dev": { | |||
"symfony/event-dispatcher": "^4.3|^5.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added because the AbstractTransport
uses it in it's constructor. Not sure if it should actually be in require
?
maybe we should add a test to ensure channel is optional? not sure if it fits better in factory or transport test 🤔 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
94a627d
to
3b4d83c
Compare
Thank you @Jeroeny. |
This PR was squashed before being merged into the 5.0 branch (closes #34539). Discussion ---------- [Notifier] Add telegram tests | Q | A | ------------- | --- | Branch? | 5.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | See #33687 | License | MIT Adds tests for the Telegram bridge of the Notifier component. Not sure if this is the right way to go, but would love some feedback. #SymfonyHackday Commits ------- 3b4d83c [Notifier] Add telegram tests
Adds tests for the Telegram bridge of the Notifier component. Not sure if this is the right way to go, but would love some feedback.
#SymfonyHackday