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

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

    public function testRejectsSchemaWhoseSubscriptionTypeIsInputType()
    {
        $this->expectFails(['query' => $this->someObjectType, 'subscription' => $this->someInputObjectType], 'Schema subscription must be Object Type if provided but got: SomeInputObject');
    }
SchemaValidatorTest