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

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

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