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

testWithDirectiveWithIncorrectTypes() public method

    public function testWithDirectiveWithIncorrectTypes()
    {
        $this->expectFailsRule(new ArgumentsOfCorrectType(), '
        {
          dog @include(if: "yes") {
            name @skip(if: ENUM)
          }
        }
      ', [$this->badValue('if', 'Boolean', '"yes"', 3, 28), $this->badValue('if', 'Boolean', 'ENUM', 4, 28)]);
    }
ArgumentsOfCorrectTypeTest