You are here

public function SavedSearchCrudTest::postSaveDataProvider in Search API Saved Searches 8

Provides data for testPostSave().

Return value

array Arrays of call arguments for testPostSave().

See also

\Drupal\Tests\search_api_saved_searches\Kernel\SavedSearchCrudTest::testPostSave()

File

tests/src/Kernel/SavedSearchCrudTest.php, line 295

Class

SavedSearchCrudTest
Tests CRUD functionality for saved searches.

Namespace

Drupal\Tests\search_api_saved_searches\Kernel

Code

public function postSaveDataProvider() {
  return [
    'with date field' => [
      TRUE,
      TRUE,
      FALSE,
    ],
    'without query' => [
      FALSE,
      FALSE,
      FALSE,
    ],
    'expect check' => [
      FALSE,
      TRUE,
      TRUE,
    ],
  ];
}