Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Remove static::createClient() into sMsmode controller unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Mar 14, 2022
1 parent 90802ed commit 6d0cf07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/Controller/SMSModeControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class SMSModeControllerTest extends AbstractWebTestCase {
public function testDeliveryReportCallbackAction(): void {

// Create a client.
$client = static::createClient();
$client = $this->client;

// Make a GET request with XML HTTP request.
$client->request("GET", "/delivery-report-callback?numero=33601020304&date_reception=2010-03-25+09%3A52%3A17&statut=11&smsID=S7EpYZ5kmS87&refClient=12azer34&mcc_mnc=20801");
Expand All @@ -55,7 +55,7 @@ public function testDeliveryReportCallbackAction(): void {
public function testSmsReplyCallbackAction(): void {

// Create a client.
$client = static::createClient();
$client = $this->client;

// Make a GET request with XML HTTP request.
$client->request("GET", "/sms-reply-callback?numero=36034&message=bonjour&emetteur=33601020304&date_reception=01012013-122233&smsID=abcd1234&refClient=monclient123&responseID=azertyu123");
Expand Down

0 comments on commit 6d0cf07

Please sign in to comment.