@@ -491,11 +491,11 @@ public function testPortInUrlWhenLogRequestSuccess()
491
491
];
492
492
$ connection ->logRequestSuccess ($ request , $ response );
493
493
// Check for localhost:9200 in trace
494
- foreach ($ trace ->output as $ row ) {
494
+ foreach ($ trace ->output as $ row ) {
495
495
$ this ->assertStringContainsString ('localhost:9200 ' , $ row );
496
496
}
497
497
// Check for localhost:9200 in logger
498
- foreach ($ logger ->output as $ row ) {
498
+ foreach ($ logger ->output as $ row ) {
499
499
if (false !== strpos ('info: Request Success ' , $ row )) {
500
500
$ this ->assertStringContainsString ('localhost:9200 ' , $ row );
501
501
}
@@ -539,11 +539,11 @@ public function testPortInLogUrlWhenLogRequestFail()
539
539
$ connection ->logRequestFail ($ request , $ response , new Exception ());
540
540
541
541
// Check for localhost:9200 in trace
542
- foreach ($ trace ->output as $ row ) {
542
+ foreach ($ trace ->output as $ row ) {
543
543
$ this ->assertStringContainsString ('localhost:9200 ' , $ row );
544
544
}
545
545
// Check for localhost:9200 in logger
546
- foreach ($ logger ->output as $ row ) {
546
+ foreach ($ logger ->output as $ row ) {
547
547
if (false !== strpos ('warning: Request Failure: ' , $ row )) {
548
548
$ this ->assertStringContainsString ('localhost:9200 ' , $ row );
549
549
}
0 commit comments