diff --git a/tests/Database/EmptyQueryTest.php b/tests/Database/EmptyQueryTest.php index c4b355d7..40c80363 100644 --- a/tests/Database/EmptyQueryTest.php +++ b/tests/Database/EmptyQueryTest.php @@ -4,6 +4,7 @@ namespace Rebing\GraphQL\Tests\Database; use Laragraph\Utils\BadRequestGraphQLException; +use Orchestra\Testbench\Attributes\WithConfig; use Rebing\GraphQL\Tests\TestCaseDatabase; class EmptyQueryTest extends TestCaseDatabase @@ -23,6 +24,7 @@ public function testEmptyQuery(array $parameters, string $expectedError): void self::assertSame($expectedError, $result['errors'][0]['message']); } + #[WithConfig('app.debug', true)] public function testNoExplicitContentType(): void { $response = $this->call('POST', '/graphql', [