You are here

public function RawTest::testInvalidInput in Search API Location 8

Test the parsed input entered by user in raw format with invalid data.

@covers ::getParsedInput

File

tests/src/Kernel/RawTest.php, line 59

Class

RawTest
Tests RawTest plugin parsing.

Namespace

Drupal\Tests\search_api_location\Kernel

Code

public function testInvalidInput() {
  $input = [
    'value' => '^20.548,67.945',
  ];
  $this
    ->assertNull($this->sut
    ->getParsedInput($input));
}