You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The recommended method to install _Elasticsearch-PHP_ is through [Composer](http://getcomposer.org).
51
52
52
-
1. Add `elasticsearch/elasticsearch` as a dependency in your project's `composer.json` file (change version to suit your version of Elasticsearch, for instance this is for ES 6.0 to 6.5):
53
+
1. Add `elasticsearch/elasticsearch` as a dependency in your project's `composer.json` file (change version to suit your version of Elasticsearch, for instance for ES 6.7):
Copy file name to clipboardExpand all lines: tests/Elasticsearch/Tests/YamlRunnerTest.php
+23-3Lines changed: 23 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -68,9 +68,17 @@ class YamlRunnerTest extends \PHPUnit\Framework\TestCase
68
68
privatestatic$skippedTests = [
69
69
'nodes.stats/30_discovery.yml#Discovery stats' => 'Failing on ES 6.1+: nodes.$master.discovery is an empty array, expected to have cluster_state_queue field in it',
70
70
'indices.stats/20_translog.yml#Translog retention' => 'Failing on ES 6.3+: Failed asserting that 495 is equal to <string:$creation_size> or is less than \'$creation_size\'',
71
-
'indices.shrink/30_copy_settings.yml#Copy settings during shrink index' => 'Failing on ES 6.4+: Failed to match in test "Copy settings during shrink index". Expected [\'4\'] does not match [false] '
71
+
'indices.shrink/30_copy_settings.yml#Copy settings during shrink index' => 'Failing on ES 6.4+: Failed to match in test "Copy settings during shrink index". Expected [\'4\'] does not match [false] ',
72
72
];
73
73
74
+
privatestatic$skippedTestsIfPhpLessThan = [
75
+
// Failing on ES 6.7+ only with PHP 7.0: Cannot access empty property
76
+
'indices.put_mapping/11_basic_with_types.yml#Create index with invalid mappings' => '7.1.0',
77
+
'indices.put_mapping/10_basic.yml#Create index with invalid mappings' => '7.1.0',
78
+
'indices.create/11_basic_with_types.yml#Create index with invalid mappings' => '7.1.0',
79
+
'indices.create/11_basic_with_types.yml#Create index with no type mappings' => '7.1.0',
80
+
'indices.create/10_basic.yml#Create index with invalid mappings' => '7.1.0',
81
+
];
74
82
/**
75
83
* @var array A list of skipped test with their reasons
76
84
*/
@@ -814,8 +822,8 @@ public function yamlProvider(): array
0 commit comments