diff options
Diffstat (limited to 'Twilio/Tests/Integration/Api/V2010/Account/TranscriptionTest.php')
-rw-r--r-- | Twilio/Tests/Integration/Api/V2010/Account/TranscriptionTest.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Twilio/Tests/Integration/Api/V2010/Account/TranscriptionTest.php b/Twilio/Tests/Integration/Api/V2010/Account/TranscriptionTest.php index 744f282..cedad6c 100644 --- a/Twilio/Tests/Integration/Api/V2010/Account/TranscriptionTest.php +++ b/Twilio/Tests/Integration/Api/V2010/Account/TranscriptionTest.php @@ -25,10 +25,10 @@ class TranscriptionTest 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/Transcriptions/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json' - ))); + )); } public function testFetchResponse() { @@ -68,10 +68,10 @@ class TranscriptionTest 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/Transcriptions/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json' - ))); + )); } public function testDeleteResponse() { @@ -95,10 +95,10 @@ class TranscriptionTest 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/Transcriptions.json' - ))); + )); } public function testReadFullResponse() { @@ -141,7 +141,7 @@ class TranscriptionTest extends HolodeckTestCase { $actual = $this->twilio->api->v2010->accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") ->transcriptions->read(); - $this->assertTrue(count($actual) > 0); + $this->assertGreaterThan(0, count($actual)); } public function testReadEmptyResponse() { |