diff --git a/src/Tests/FacetSourceTest.php b/src/Tests/FacetSourceTest.php index d33397b..c5f0e15 100644 --- a/src/Tests/FacetSourceTest.php +++ b/src/Tests/FacetSourceTest.php @@ -24,7 +24,6 @@ class FacetSourceTest extends FacetWebTestBase { 'search_api', 'search_api_test_backend', 'facets', - 'search_api_test_views', 'facets_search_api_dependency', 'facets_query_processor', ]; diff --git a/src/Tests/UrlIntegrationTest.php b/src/Tests/UrlIntegrationTest.php index fe3a007..64ef7b2 100644 --- a/src/Tests/UrlIntegrationTest.php +++ b/src/Tests/UrlIntegrationTest.php @@ -28,7 +28,6 @@ class UrlIntegrationTest extends FacetWebTestBase { 'search_api', 'search_api_test_backend', 'facets', - 'search_api_test_views', 'block', 'facets_search_api_dependency', 'facets_query_processor', diff --git a/src/Tests/WebTestBase.php b/src/Tests/WebTestBase.php index 4116347..3b06261 100644 --- a/src/Tests/WebTestBase.php +++ b/src/Tests/WebTestBase.php @@ -40,7 +40,6 @@ abstract class WebTestBase extends SimpletestWebTestBase { 'search_api', 'search_api_test_backend', 'facets', - 'search_api_test_views', 'block', 'facets_search_api_dependency', ]; diff --git a/src/Tests/WidgetIntegrationTest.php b/src/Tests/WidgetIntegrationTest.php index 5f91902..38b7bb3 100644 --- a/src/Tests/WidgetIntegrationTest.php +++ b/src/Tests/WidgetIntegrationTest.php @@ -25,7 +25,6 @@ class WidgetIntegrationTest extends FacetWebTestBase { 'search_api', 'search_api_test_backend', 'facets', - 'search_api_test_views', 'block', 'facets_search_api_dependency', 'facets_query_processor', diff --git a/tests/facets_search_api_dependency/config/install/views.view.search_api_test_views_fulltext.yml b/tests/facets_search_api_dependency/config/install/views.view.search_api_test_views_fulltext.yml new file mode 100644 index 0000000..60311fd --- /dev/null +++ b/tests/facets_search_api_dependency/config/install/views.view.search_api_test_views_fulltext.yml @@ -0,0 +1,198 @@ +base_field: search_api_id +base_table: search_api_index_database_search_index +core: 8.x +description: '' +status: true +display: + default: + display_plugin: default + id: default + display_title: Master + position: 0 + display_options: + access: + type: none + options: { } + cache: + type: none + options: { } + query: + type: search_api_query + options: + search_api_bypass_access: false + entity_access: false + parse_mode: terms + exposed_form: + type: basic + options: + submit_button: Search + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + pager: + type: full + options: + items_per_page: 10 + offset: 0 + id: 0 + total_pages: null + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 20, 40, 60' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + tags: + previous: '‹ previous' + next: 'next ›' + first: '« first' + last: 'last »' + quantity: 9 + style: + type: default + row: + type: search_api + options: + view_modes: + bundle: + 'article': default + 'page': default + datasource: + 'entity:entity_test': default + fields: + search_api_id: + table: search_api_index_database_search_index + field: search_api_id + id: search_api_id + plugin_id: numeric + relationship: none + group_type: group + admin_label: '' + label: 'Entity ID' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + set_precision: false + precision: 0 + decimal: . + separator: ',' + format_plural: false + format_plural_string: "1\x03@count" + prefix: '' + suffix: '' + filters: + search_api_fulltext: + id: search_api_fulltext + table: search_api_index_database_search_index + field: search_api_fulltext + relationship: none + group_type: group + admin_label: '' + operator: and + value: '' + group: 1 + exposed: true + expose: + operator_id: search_api_fulltext_op + label: 'Fulltext search' + description: '' + use_operator: false + operator: search_api_fulltext_op + identifier: search_api_fulltext + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + administrator: '0' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + min_length: 0 + fields: { } + plugin_id: search_api_fulltext + sorts: { } + title: 'Fulltext test index' + header: + result: + id: result + table: views + field: result + relationship: none + group_type: group + admin_label: '' + empty: false + content: 'Displaying @total search results' + plugin_id: result + footer: { } + empty: { } + relationships: { } + arguments: { } + page_1: + display_plugin: page + id: page_1 + display_title: Page + position: 1 + display_options: + path: search-api-test-fulltext +label: 'Search API Test Fulltext search view' +module: views +id: search_api_test_view +tag: '' +langcode: en +dependencies: + module: + - search_api + - facets_search_api_dependency diff --git a/tests/facets_search_api_dependency/facets_search_api_dependency.info.yml b/tests/facets_search_api_dependency/facets_search_api_dependency.info.yml index 7f57da6..69ceeeb 100644 --- a/tests/facets_search_api_dependency/facets_search_api_dependency.info.yml +++ b/tests/facets_search_api_dependency/facets_search_api_dependency.info.yml @@ -5,4 +5,6 @@ package: 'Search' core: 8.x hidden: true dependencies: - - search_api + - search_api:search_api + - search_api:search_api_test_db + - drupal:views