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

testSimpleFloatIntoInt() public method

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