GraphQL\Tests\Validator\UniqueInputFieldNamesTest::testDuplicateInputObjectFields PHP Метод

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

    public function testDuplicateInputObjectFields()
    {
        $this->expectFailsRule(new UniqueInputFieldNames(), '
      {
        field(arg: { f1: "value", f1: "value" })
      }
        ', [$this->duplicateField('f1', 3, 22, 3, 35)]);
    }