From 79d12135dd08837f5a595d9699fa56a5303f1c05 Mon Sep 17 00:00:00 2001 From: patrickkusebauch Date: Sat, 12 Dec 2020 22:21:42 +0100 Subject: [PATCH] Fixed new Url --- tests/Monolog/Handler/ElasticaHandlerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Monolog/Handler/ElasticaHandlerTest.php b/tests/Monolog/Handler/ElasticaHandlerTest.php index 1bb92ded..e66b1394 100644 --- a/tests/Monolog/Handler/ElasticaHandlerTest.php +++ b/tests/Monolog/Handler/ElasticaHandlerTest.php @@ -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}"; }