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 334dd05 commit 6222759Copy full SHA for 6222759
tests/GraphQLRequestFactoryTest.php
@@ -5,16 +5,14 @@
5
namespace SimPod\GraphQLRequestFactory\Tests;
6
7
use Nyholm\Psr7\Factory\Psr17Factory;
8
+use PHPUnit\Framework\Attributes\DataProvider;
9
use PHPUnit\Framework\TestCase;
10
use SimPod\GraphQLRequestFactory\GraphQLRequestFactory;
11
12
final class GraphQLRequestFactoryTest extends TestCase
13
{
- /**
14
- * @param array{string} $arguments
15
- *
16
- * @dataProvider provideCreateRequestIsValid
17
- */
+ /** @param array{string} $arguments */
+ #[DataProvider('provideCreateRequestIsValid')]
18
public function testCreateRequestIsValid(string $expectedQuery, array $arguments): void
19
20
$psr17Factory = new Psr17Factory();
0 commit comments