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

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

public testStringIntoFloat ( )
    public function testStringIntoFloat()
    {
        $this->expectFailsRule(new ArgumentsOfCorrectType(), '
        {
          complicatedArgs {
            floatArgField(floatArg: "3.333")
          }
        }
        ', [$this->badValue('floatArg', 'Float', '"3.333"', 4, 37)]);
    }
ArgumentsOfCorrectTypeTest