We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aee553b commit 51c3e23Copy full SHA for 51c3e23
tests/unit/Parser/ParserBuilderTest.php
@@ -25,6 +25,7 @@
25
use phpDocumentor\JsonPath\AST\RootNode;
26
use phpDocumentor\JsonPath\AST\Value;
27
use phpDocumentor\JsonPath\AST\Wildcard;
28
+use PHPUnit\Framework\Attributes\DataProvider;
29
use PHPUnit\Framework\TestCase;
30
31
class ParserBuilderTest extends TestCase
@@ -102,7 +103,7 @@ public function testRootFieldChildAccess(): void
102
103
);
104
}
105
- /** @dataProvider operatorProvider */
106
+ #[DataProvider('operatorProvider')]
107
public function testFilterExpression(string $operator): void
108
{
109
$result = $this->parser->tryString('$.store.books[?(@.title ' . $operator . ' "phpDoc")]');
0 commit comments