You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/AccountTest.php
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,14 @@
5
5
useGuzzleHttp\Psr7\Response;
6
6
useGuzzleHttp\Middleware;
7
7
8
-
class AccountTest extends PHPUnit_Framework_TestCase {
8
+
usePHPUnit\Framework\TestCase;
9
+
10
+
class AccountTest extends TestCase {
9
11
publicstatic$container;
10
12
publicstatic$account;
11
13
publicstatic$index = 0;
12
14
13
-
publicstaticfunctionsetUpBeforeClass() {
15
+
publicstaticfunctionsetUpBeforeClass(): void {
14
16
$mock = newMockHandler([
15
17
newResponse(200, [], "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?> <LineOptionOrderResponse><LineOptions> <CompletedNumbers><TelephoneNumber>2013223685</TelephoneNumber> </CompletedNumbers><Errors><Error><TelephoneNumber>5209072452</TelephoneNumber> <ErrorCode>5071</ErrorCode><Description>Telephone number is not available on the system.</Description></Error> <Error><TelephoneNumber>5209072451</TelephoneNumber> <ErrorCode>13518</ErrorCode><Description>CNAM for telephone number is applied at the Location level and it is notapplicable at the TN level.</Description> </Error></Errors> </LineOptions></LineOptionOrderResponse>"),
0 commit comments