GraphQL\Tests\Validator\ArgumentsOfCorrectTypeTest::testUnquotedStringIntoInt PHP Method

testUnquotedStringIntoInt() public method

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