Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the output of put-mapping errors #3464

Merged
merged 2 commits into from
May 18, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix test
Co-authored-by: Mohammed <MARQAS@users.noreply.github.com>
  • Loading branch information
felipeelia and MARQAS committed May 18, 2023
commit e6d890d9f3df4c4350a0fd67ca14eee46b5d7120
13 changes: 9 additions & 4 deletions tests/php/TestUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -367,10 +367,15 @@ public function testGetElasticsearchErrorReason() {
// array with `errors`
$reason_in_errors_array = [
'result' => [
'error' => [
'root_cause' => [
[
'reason' => 'Error reason',
'errors' => [
'some error',
],
'items' => [
[
'index' => [
'error' => [
'reason' => 'Error reason',
],
],
],
],
Expand Down