-
Notifications
You must be signed in to change notification settings - Fork 64
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
feat: geosms adapter #64
Conversation
@@ -30,5 +31,8 @@ public function testSendEmail() | |||
$response = $sender->send($message); | |||
|
|||
$this->assertEquals($response, ''); | |||
*/ | |||
|
|||
$this->markTestSkipped('Sendgrid: Authenticated user is not authorized to send mail'); |
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.
We need to fix our Sendgrid setup
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.
@christyjacob4 Do we have a team test account set up for Sendgrid? I think tests here are still using a personal account
tests/e2e/SMS/Msg91Test.php
Outdated
// $this->assertEquals('success', $result['type']); | ||
|
||
$this->markTestSkipped('Msg91 requires business verification to use template and SMS api.'); | ||
$this->assertEquals('success', $result['type']); |
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.
This test is fixed now we are verified
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.
https://api.msg91.com/apidoc/textsms/send-sms-flow.php
I removed this check since the message
property is not really the content instead some sort of an ID that we cannot use for assertion
@@ -30,5 +31,8 @@ public function testSendEmail() | |||
$response = $sender->send($message); | |||
|
|||
$this->assertEquals($response, ''); | |||
*/ | |||
|
|||
$this->markTestSkipped('Sendgrid: Authenticated user is not authorized to send mail'); |
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.
@christyjacob4 Do we have a team test account set up for Sendgrid? I think tests here are still using a personal account
GEO aware SMS adapter that has Twilio as a global default but can also delegate work to local providers.