GraphQL\Tests\Type\SchemaValidatorTest::testAcceptsSchemaWithQueryAndMutationTypesOfObjectType PHP 메소드

testAcceptsSchemaWithQueryAndMutationTypesOfObjectType() 공개 메소드

    public function testAcceptsSchemaWithQueryAndMutationTypesOfObjectType()
    {
        $MutationType = new ObjectType(['name' => 'Mutation', 'fields' => ['edit' => ['type' => Type::string()]]]);
        $this->expectPasses(['query' => $this->someObjectType, 'mutation' => $MutationType]);
    }
SchemaValidatorTest