GraphQL\Tests\Type\SchemaValidatorTest::testRejectsSchemaWhoseDirectivesAreIncorrectlyTyped PHP Method

testRejectsSchemaWhoseDirectivesAreIncorrectlyTyped() public method

    public function testRejectsSchemaWhoseDirectivesAreIncorrectlyTyped()
    {
        $this->expectFails(['query' => $this->someObjectType, 'directives' => ['somedirective']], 'Schema directives must be Directive[] if provided but got array');
    }
SchemaValidatorTest