Skip to content

Commit ceac5bd

Browse files
committed
[TEST] test files are now .yml instead of .yaml
1 parent 20b5bd1 commit ceac5bd

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tests/Elasticsearch/Tests/YamlRunnerTest.php

+9-9
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,18 @@ class YamlRunnerTest extends \PHPUnit_Framework_TestCase
5454

5555
/** @var array A list of skipped test with their reasons */
5656
private static $skippedTest = [
57-
'cat.nodeattrs/10_basic.yaml' => 'Using java regex fails in PHP',
58-
'cat.repositories/10_basic.yaml' => 'Using java regex fails in PHP',
59-
'indices.shrink/10_basic.yaml' => 'Shrink tests seem to require multiple nodes',
60-
'indices.rollover/10_basic.yaml' => 'Rollover test seems buggy atm'
57+
'cat.nodeattrs/10_basic.yml' => 'Using java regex fails in PHP',
58+
'cat.repositories/10_basic.yml' => 'Using java regex fails in PHP',
59+
'indices.shrink/10_basic.yml' => 'Shrink tests seem to require multiple nodes',
60+
'indices.rollover/10_basic.yml' => 'Rollover test seems buggy atm'
6161
];
6262

6363
/** @var array A list of files to skip completely, due to fatal parsing errors */
6464
private static $skippedFiles = [
65-
'indices.create/10_basic.yaml' => 'Temporary: Yaml parser doesnt support "inline" empty keys',
66-
'indices.put_mapping/10_basic.yaml' => 'Temporary: Yaml parser doesnt support "inline" empty keys',
67-
'search/110_field_collapsing.yaml' => 'Temporary: parse error, malformed inline yaml',
68-
'cat.nodes/10_basic.yaml' => 'Temporary: parse error, something about $body: |'
65+
'indices.create/10_basic.yml' => 'Temporary: Yaml parser doesnt support "inline" empty keys',
66+
'indices.put_mapping/10_basic.yml' => 'Temporary: Yaml parser doesnt support "inline" empty keys',
67+
'search/110_field_collapsing.yml' => 'Temporary: parse error, malformed inline yaml',
68+
'cat.nodes/10_basic.yml' => 'Temporary: parse error, something about $body: |'
6969
];
7070

7171
/**
@@ -708,7 +708,7 @@ public function yamlProvider()
708708
$finder = new Finder();
709709
$finder->in($path);
710710
$finder->files();
711-
$finder->name('*.yaml');
711+
$finder->name('*.yml');
712712

713713
$filter = isset($_SERVER['TEST_CASE']) ? $_SERVER['TEST_CASE'] : null;
714714

0 commit comments

Comments
 (0)