GraphQL\Tests\Type\SchemaValidatorTest::testRejectsASchemaWithAnObjectTypeAsAnInputFieldArg PHP Метод

testRejectsASchemaWithAnObjectTypeAsAnInputFieldArg() публичный Метод

    public function testRejectsASchemaWithAnObjectTypeAsAnInputFieldArg()
    {
        // rejects a schema with an object type as an input field arg
        $someOutputType = new ObjectType(['name' => 'SomeOutputType', 'fields' => ['f' => ['type' => Type::float()]]]);
        $this->assertRejectingFieldArgOfType($someOutputType);
    }
SchemaValidatorTest