You are here

public function SearchApiSortsKernelTest::testThatSortFieldIsNotPresent in Search API sorts 8

Tests that only matching configs are returned from the entity query.

File

tests/src/Kernel/SearchApiSortsKernelTest.php, line 73

Class

SearchApiSortsKernelTest
Kernel test for search_api_sorts module.

Namespace

Drupal\Tests\search_api_sorts\Kernel

Code

public function testThatSortFieldIsNotPresent() {
  $this
    ->assertArrayNotHasKey('views_page---nonexistent_search_api_sorts_test_view__page_1_title', $this->records);
}