GraphQL\Tests\Validator\ArgumentsOfCorrectTypeTest::testPartialObjectMissingRequired PHP Méthode

testPartialObjectMissingRequired() public méthode

    public function testPartialObjectMissingRequired()
    {
        $this->expectFailsRule(new ArgumentsOfCorrectType(), '
        {
          complicatedArgs {
            complexArgField(complexArg: { intField: 4 })
          }
        }
        ', [$this->badValue('complexArg', 'ComplexInput', '{intField: 4}', 4, 41, ['In field "requiredField": Expected "Boolean!", found null.'])]);
    }
ArgumentsOfCorrectTypeTest