Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Notifier] Add Unifonic notifier bridge#53092
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
seferov commentedDec 15, 2023
| Q | A |
|---|---|
| Branch? | 7.1 |
| Bug fix? | no |
| New feature? | yes |
| Deprecations? | no |
| Issues | - |
| License | MIT |
08366b0 to6ffa962CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
| return (new UnifonicTransport('S3cr3t', 'Sender', $client ?? new MockHttpClient())) | ||
| ->setHost($host); |
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.
| return (newUnifonicTransport('S3cr3t','Sender',$client ??newMockHttpClient())) | |
| ->setHost($host); | |
| return (newUnifonicTransport('S3cr3t','Sender',$client ??newMockHttpClient()))->setHost($host); |
| public function testSendSuccess() | ||
| { | ||
| $response = $this->createMock(ResponseInterface::class); |
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.
Can you useMockResponse/JsonMockResponse instead?
src/Symfony/Component/Notifier/Bridge/Unifonic/UnifonicTransportFactory.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
OskarStark left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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.
Thanks for your contribution, this is much appreciated. Please check my comments, thanks.
In parallel, we also need a PR againstsymfony/symfony-docs andsymfony/recipes-contrib
fabpot commentedDec 17, 2023
Thank you@seferov. |