protected function ViewsTest::regressionTest2883807 in Search API 8
Verifies that adding a contextual filter doesn't trigger a notice.
See also
https://www.drupal.org/node/2883807
1 call to ViewsTest::regressionTest2883807()
- ViewsTest::adminUiRegressionTests in tests/
src/ Functional/ ViewsTest.php - Contains regression tests for previous, fixed bugs in the Views UI.
File
- tests/
src/ Functional/ ViewsTest.php, line 1111
Class
- ViewsTest
- Tests the Views integration of the Search API.
Namespace
Drupal\Tests\search_api\FunctionalCode
protected function regressionTest2883807() {
$this
->drupalGet('admin/structure/views/nojs/add-handler/search_api_test_view/page_1/argument');
$edit = [
'name[search_api_index_database_search_index.author]' => TRUE,
];
$this
->submitForm($edit, 'Add and configure contextual filters');
$this
->submitForm([], 'Apply');
$this
->submitForm([], 'Save');
}