1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 05:07:36 +02:00

Fixed new Url

This commit is contained in:
patrickkusebauch
2020-12-12 22:21:42 +01:00
parent 76639ef02b
commit 79d12135dd

View File

@@ -288,7 +288,7 @@ class ElasticaHandlerTest extends TestCase
protected function getDocSourceFromElastic(Client $client, $index, $type, $documentId)
{
if($type === null) {
$path = "/{$index}/{$documentId}";
$path = "/{$index}/_doc/{$documentId}";
} else {
$path = "/{$index}/{$type}/{$documentId}";
}