You are here

public function JsonPathParserTest::dataProviderInvalidContext in Feeds extensible parsers 8

Data provider for testSetInvalidContext().

Overrides ContextTestTrait::dataProviderInvalidContext

File

tests/src/Functional/Feeds/Parser/JsonPathParserTest.php, line 32

Class

JsonPathParserTest
@coversDefaultClass \Drupal\feeds_ex\Feeds\Parser\JsonPathParser @group feeds_ex

Namespace

Drupal\Tests\feeds_ex\Functional\Feeds\Parser

Code

public function dataProviderInvalidContext() {
  return [
    [
      '.hello*',
      'Unable to parse token hello* in expression: .hello*',
    ],
    [
      '!!',
      'Unable to parse token !! in expression: .!!',
    ],
  ];
}