diff --git a/tests/ChannelMessagesTest.php b/tests/ChannelMessagesTest.php index 46c35f0..e0ec5c2 100644 --- a/tests/ChannelMessagesTest.php +++ b/tests/ChannelMessagesTest.php @@ -269,7 +269,7 @@ public function testPublishConnectionKey() { $msg = new Message(); $msg->name = 'delegatedMsg'; $msg->data = 'test payload'; - $msg->connectionKey = 'fake!realtime_key'; + $msg->connectionKey = 'fake.realtime_key'; // publishing the message with an invalid key must fail $this->setExpectedException( 'Ably\Exceptions\AblyException', '', 40006 );