diff --git a/tests/Twilio/ClusterTest.php b/tests/Twilio/ClusterTest.php index c355ee2162..923446011d 100644 --- a/tests/Twilio/ClusterTest.php +++ b/tests/Twilio/ClusterTest.php @@ -70,7 +70,7 @@ public function testSpecialCharacters(): void public function testListParams(): void { $sinkConfiguration = ["destination" => "http://example.org/webhook", "method" => "post", "batch_events" => false]; - $types = [["type" => "com.twilio.messaging.message.delivered"], ["type" => "com.twilio.messaging.message.sent"]]; + $types = ["{\"type\": \"com.twilio.messaging.message.delivered\"}", "{\"type\": \"com.twilio.messaging.message.sent\"}"]; $sink = self::$twilio->events->v1->sinks->create("test sink php", $sinkConfiguration, "webhook"); $this->assertNotNull($sink); @@ -82,4 +82,4 @@ public function testListParams(): void $this->assertTrue(self::$twilio->events->v1->subscriptions($subscription->sid)->delete()); $this->assertTrue(self::$twilio->events->v1->sinks($sink->sid)->delete()); } -} \ No newline at end of file +}