GraphQL\Tests\Validator\ArgumentsOfCorrectTypeTest::testUnquotedStringIntoInt PHP Метод

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

    public function testUnquotedStringIntoInt()
    {
        $this->expectFailsRule(new ArgumentsOfCorrectType(), '
        {
          complicatedArgs {
            intArgField(intArg: FOO)
          }
        }
        ', [$this->badValue('intArg', 'Int', 'FOO', 4, 33)]);
    }
ArgumentsOfCorrectTypeTest