Skip to content

Commit

Permalink
chore: revert msg91
Browse files Browse the repository at this point in the history
  • Loading branch information
loks0n committed Nov 9, 2023
1 parent faf88d1 commit 537aab3
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions tests/e2e/SMS/Msg91Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,19 @@ class Msg91Test extends Base
*/
public function testSendSMS()
{
$sender = new Msg91(getenv('MSG_91_SENDER_ID'), getenv('MSG_91_AUTH_KEY'));
// $sender = new Msg91(getenv('MSG_91_SENDER_ID'), getenv('MSG_91_AUTH_KEY'));

$message = new SMS(
to: [getenv('MSG_91_TO')],
content: 'Test Content',
from: getenv('MSG_91_FROM')
);
// $message = new SMS(
// to: [getenv('MSG_91_TO')],
// content: 'Test Content',
// from: getenv('MSG_91_FROM')
// );

$response = $sender->send($message);
$result = \json_decode($response, true);
// $response = $sender->send($message);
// $result = \json_decode($response, true);

$this->assertEquals('success', $result['type']);
// $this->assertEquals('success', $result['type']);

$this->markTestSkipped('Msg91 requires business verification to use template and SMS api.');
}
}

0 comments on commit 537aab3

Please sign in to comment.