@@ -54,18 +54,18 @@ class YamlRunnerTest extends \PHPUnit_Framework_TestCase
54
54
55
55
/** @var array A list of skipped test with their reasons */
56
56
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 '
61
61
];
62
62
63
63
/** @var array A list of files to skip completely, due to fatal parsing errors */
64
64
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: | '
69
69
];
70
70
71
71
/**
@@ -708,7 +708,7 @@ public function yamlProvider()
708
708
$ finder = new Finder ();
709
709
$ finder ->in ($ path );
710
710
$ finder ->files ();
711
- $ finder ->name ('*.yaml ' );
711
+ $ finder ->name ('*.yml ' );
712
712
713
713
$ filter = isset ($ _SERVER ['TEST_CASE ' ]) ? $ _SERVER ['TEST_CASE ' ] : null ;
714
714
0 commit comments