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

testStringIntoBoolean() public method

    public function testStringIntoBoolean()
    {
        $this->expectFailsRule(new ArgumentsOfCorrectType(), '
        {
          complicatedArgs {
            booleanArgField(booleanArg: "true")
          }
        }
        ', [$this->badValue('booleanArg', 'Boolean', '"true"', 4, 41)]);
    }
ArgumentsOfCorrectTypeTest