summaryrefslogtreecommitdiffstats
path: root/Twilio/Tests/Integration/Api/V2010/Account/OutgoingCallerIdTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'Twilio/Tests/Integration/Api/V2010/Account/OutgoingCallerIdTest.php')
-rw-r--r--Twilio/Tests/Integration/Api/V2010/Account/OutgoingCallerIdTest.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/Twilio/Tests/Integration/Api/V2010/Account/OutgoingCallerIdTest.php b/Twilio/Tests/Integration/Api/V2010/Account/OutgoingCallerIdTest.php
index 21988c8..be75a0b 100644
--- a/Twilio/Tests/Integration/Api/V2010/Account/OutgoingCallerIdTest.php
+++ b/Twilio/Tests/Integration/Api/V2010/Account/OutgoingCallerIdTest.php
@@ -25,10 +25,10 @@ class OutgoingCallerIdTest extends HolodeckTestCase {
} catch (DeserializeException $e) {}
catch (TwilioException $e) {}
- $this->assertTrue($this->holodeck->hasRequest(new Request(
+ $this->assertRequest(new Request(
'get',
'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OutgoingCallerIds/PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json'
- )));
+ ));
}
public function testFetchResponse() {
@@ -62,10 +62,10 @@ class OutgoingCallerIdTest extends HolodeckTestCase {
} catch (DeserializeException $e) {}
catch (TwilioException $e) {}
- $this->assertTrue($this->holodeck->hasRequest(new Request(
+ $this->assertRequest(new Request(
'post',
'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OutgoingCallerIds/PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json'
- )));
+ ));
}
public function testUpdateResponse() {
@@ -99,10 +99,10 @@ class OutgoingCallerIdTest extends HolodeckTestCase {
} catch (DeserializeException $e) {}
catch (TwilioException $e) {}
- $this->assertTrue($this->holodeck->hasRequest(new Request(
+ $this->assertRequest(new Request(
'delete',
'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OutgoingCallerIds/PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json'
- )));
+ ));
}
public function testDeleteResponse() {
@@ -126,10 +126,10 @@ class OutgoingCallerIdTest extends HolodeckTestCase {
} catch (DeserializeException $e) {}
catch (TwilioException $e) {}
- $this->assertTrue($this->holodeck->hasRequest(new Request(
+ $this->assertRequest(new Request(
'get',
'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OutgoingCallerIds.json'
- )));
+ ));
}
public function testReadFullResponse() {
@@ -166,7 +166,7 @@ class OutgoingCallerIdTest extends HolodeckTestCase {
$actual = $this->twilio->api->v2010->accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
->outgoingCallerIds->read();
- $this->assertTrue(count($actual) > 0);
+ $this->assertGreaterThan(0, count($actual));
}
public function testReadEmptyResponse() {