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

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

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