diff --git a/tests/Elasticsearch/Tests/YamlRunnerTest.php b/tests/Elasticsearch/Tests/YamlRunnerTest.php index 959055592..ac987baf6 100644 --- a/tests/Elasticsearch/Tests/YamlRunnerTest.php +++ b/tests/Elasticsearch/Tests/YamlRunnerTest.php @@ -840,8 +840,6 @@ public function operationContains($operation, $lastOperationResult, &$context, s if (is_array($expected)) { $this->assertContains($expected, $value, 'Failed to contains in test ' . $testName); - } else { - } return $lastOperationResult; @@ -1174,7 +1172,6 @@ private function clean() # Get all privileges $privileges = $this->client->security()->getPrivileges(); - } $this->rmDirRecursively('/tmp/test_repo_create_1_loc');