File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,20 @@ protected function getFilePaths(): array
20
20
];
21
21
}
22
22
23
+ public function getInvalidTests (): \Generator
24
+ {
25
+ $ skip = [
26
+ 'refRemote.json / base URI change - change folder / string is invalid '
27
+ ];
28
+
29
+ foreach (parent ::getInvalidForAssocTests () as $ name => $ testcase ) {
30
+ if (in_array ($ name , $ skip , true )) {
31
+ continue ;
32
+ }
33
+ yield $ name => $ testcase ;
34
+ }
35
+ }
36
+
23
37
public function getInvalidForAssocTests (): \Generator
24
38
{
25
39
$ skip = [
@@ -35,6 +49,22 @@ public function getInvalidForAssocTests(): \Generator
35
49
}
36
50
}
37
51
52
+ public function getValidTests (): \Generator
53
+ {
54
+ $ skip = [
55
+ 'ref.json / id must be resolved against nearest parent, not just immediate parent / number is valid ' ,
56
+ 'refRemote.json / base URI change - change folder / number is valid ' ,
57
+ ];
58
+
59
+ foreach (parent ::getValidTests () as $ name => $ testcase ) {
60
+ if (in_array ($ name , $ skip , true )) {
61
+ continue ;
62
+ }
63
+ yield $ name => $ testcase ;
64
+ }
65
+ }
66
+
67
+
38
68
public function getValidForAssocTests (): \Generator
39
69
{
40
70
$ skip = [
You can’t perform that action at this time.
0 commit comments