8000 Merge branch '6.1' into 6.2 · symfony/symfony@e0ad2ee · GitHub
[go: up one dir, main page]

Skip to content 6600

Commit e0ad2ee

Browse files
Merge branch '6.1' into 6.2
* 6.1: [MonologBridge] fix tests
2 parents 1ded85f + 1041cb0 commit e0ad2ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Bridge/Monolog/Tests/Handler/ElasticsearchLogstashHandlerTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ public function testHandleWithElasticsearch8()
8484
return new MockResponse();
8585
};
8686

87-
$handler = new ElasticsearchLogstashHandlerWithHardCodedHostname('http://es:9200', 'log', new MockHttpClient($responseFactory), Logger::DEBUG, true, '8.0.0');
87+
$handler = new ElasticsearchLogstashHandler('http://es:9200', 'log', new MockHttpClient($responseFactory), Logger::DEBUG, true, '8.0.0');
88+
$handler->setFormatter($this->getDefaultFormatter());
8889

8990
$record = [
9091
'message' => 'My info message',

0 commit comments

Comments
 (0)
0