Skip to content

Commit e2d8f88

Browse files
committed
Added http headers in the test failure error message
1 parent 203e1cb commit e2d8f88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/AblyBroadcasterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ public function testLaravelAblyAgentHeader()
338338
$ably->time();
339339
$laravelVersion = Miscellaneous::getNumeric(app()->version());
340340
$expectedLaravelHeader = 'ably-php/'.\Ably\Defaults::LIB_VERSION.' '.'php/'.Miscellaneous::getNumeric(phpversion()).' laravel-broadcaster/'.AblyBroadcaster::LIB_VERSION.' laravel/'.$laravelVersion;
341-
$this->assertcontains( 'Ably-Agent: '.$expectedLaravelHeader, $ably->http->lastHeaders, 'Expected Laravel broadcaster header in HTTP request' );
341+
$this->assertcontains( 'Ably-Agent: '.$expectedLaravelHeader, $ably->http->lastHeaders, 'Expected Laravel broadcaster header in HTTP request '.$ably->http->lastHeaders );
342342
}
343343

344344
public function testPayloadShouldNotIncludeSocketKey()

0 commit comments

Comments
 (0)