We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a289e46 commit 2184093Copy full SHA for 2184093
tests/Unit/GraphQLTest.php
@@ -8,6 +8,7 @@
8
use GraphQL\Type\Definition\ObjectType;
9
use GraphQL\Type\Definition\Type;
10
use GraphQL\Type\Schema;
11
+use Illuminate\Support\Traits\Macroable;
12
use Rebing\GraphQL\Error\ValidationError;
13
use Rebing\GraphQL\Exception\SchemaNotFound;
14
use Rebing\GraphQL\Exception\TypeNotFound;
@@ -395,4 +396,9 @@ public function testAddSchemaObjectAndExecuteQueryWithRootValue(): void
395
396
397
$this->assertSame($expectedResult, $result);
398
}
399
+
400
+ public function testIsMacroable(): void
401
+ {
402
+ $this->assertContains(Macroable::class, class_uses_recursive(GraphQL::getFacadeRoot()));
403
+ }
404
0 commit comments