diff options
Diffstat (limited to 'Twilio/Tests/Integration/Monitor/V1/EventTest.php')
-rw-r--r-- | Twilio/Tests/Integration/Monitor/V1/EventTest.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Twilio/Tests/Integration/Monitor/V1/EventTest.php b/Twilio/Tests/Integration/Monitor/V1/EventTest.php index 554811f..4e95e0e 100644 --- a/Twilio/Tests/Integration/Monitor/V1/EventTest.php +++ b/Twilio/Tests/Integration/Monitor/V1/EventTest.php @@ -24,10 +24,10 @@ class EventTest extends HolodeckTestCase { } catch (DeserializeException $e) {} catch (TwilioException $e) {} - $this->assertTrue($this->holodeck->hasRequest(new Request( + $this->assertRequest(new Request( 'get', 'https://monitor.twilio.com/v1/Events/AEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' - ))); + )); } public function testFetchResponse() { @@ -74,10 +74,10 @@ class EventTest extends HolodeckTestCase { } catch (DeserializeException $e) {} catch (TwilioException $e) {} - $this->assertTrue($this->holodeck->hasRequest(new Request( + $this->assertRequest(new Request( 'get', 'https://monitor.twilio.com/v1/Events' - ))); + )); } public function testReadFullResponse() { @@ -126,7 +126,7 @@ class EventTest extends HolodeckTestCase { $actual = $this->twilio->monitor->v1->events->read(); - $this->assertTrue(count($actual) > 0); + $this->assertGreaterThan(0, count($actual)); } public function testReadEmptyResponse() { |