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

testFloatIntoID() public method

public testFloatIntoID ( )
    public function testFloatIntoID()
    {
        $this->expectFailsRule(new ArgumentsOfCorrectType(), '
        {
          complicatedArgs {
            idArgField(idArg: 1.0)
          }
        }
        ', [$this->badValue('idArg', 'ID', '1.0', 4, 31)]);
    }
ArgumentsOfCorrectTypeTest