public testVariableWithinRecursiveFragmentDefined ( ) |
public function testVariableWithinRecursiveFragmentDefined()
{
$this->expectPassesRule(new NoUndefinedVariables(), '
query Foo($a: String) {
...FragA
}
fragment FragA on Type {
field(a: $a) {
...FragA
}
}
');
}