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

testFloatIntoString() public method

public testFloatIntoString ( )
    public function testFloatIntoString()
    {
        $this->expectFailsRule(new ArgumentsOfCorrectType(), '
        {
          complicatedArgs {
            stringArgField(stringArg: 1.0)
          }
        }
        ', [$this->badValue('stringArg', 'String', '1.0', 4, 39)]);
    }
ArgumentsOfCorrectTypeTest