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
2020 ];
2121 }
2222
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+
2337 public function getInvalidForAssocTests (): \Generator
2438 {
2539 $ skip = [
@@ -35,6 +49,22 @@ public function getInvalidForAssocTests(): \Generator
3549 }
3650 }
3751
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+
3868 public function getValidForAssocTests (): \Generator
3969 {
4070 $ skip = [
You can’t perform that action at this time.
0 commit comments