diff --git a/tests/src/Functional/FacetSourceTest.php b/tests/src/Functional/FacetSourceTest.php index cbfdc57..bb31c28 100644 --- a/tests/src/Functional/FacetSourceTest.php +++ b/tests/src/Functional/FacetSourceTest.php @@ -49,7 +49,7 @@ class FacetSourceTest extends FacetsTestBase { $this->assertResponse(200); $this->assertUrl('admin/config/search/facets'); - $this->assertText('Facet source search_api:search_api_test_view__block_1 has been saved.'); + $this->assertText('Facet source search_api:search_api_test_view__page_1 has been saved.'); $this->clickLink('Configure'); // Test that saving worked filter_key has the new value. @@ -72,7 +72,7 @@ class FacetSourceTest extends FacetsTestBase { $this->assertResponse(200); $this->assertUrl('admin/config/search/facets'); - $this->assertText('Facet source search_api:search_api_test_view__block_1 has been saved.'); + $this->assertText('Facet source search_api:search_api_test_view__page_1 has been saved.'); $this->clickLink('Configure'); // Test that saving worked and that the url processor has the new value. diff --git a/tests/src/Functional/UrlIntegrationTest.php b/tests/src/Functional/UrlIntegrationTest.php index ee64250..6c13f6f 100644 --- a/tests/src/Functional/UrlIntegrationTest.php +++ b/tests/src/Functional/UrlIntegrationTest.php @@ -83,7 +83,7 @@ class UrlIntegrationTest extends FacetsTestBase { // Go to the only enabled facet source's config and change the filter key. $this->drupalGet('admin/config/search/facets'); - $this->clickLink('Configure', 1); + $this->clickLink('Configure', 0); $edit = [ 'filter_key' => 'y', @@ -106,7 +106,7 @@ class UrlIntegrationTest extends FacetsTestBase { // Go to the only enabled facet source's config and change the url // processor. $this->drupalGet('admin/config/search/facets'); - $this->clickLink('Configure', 1); + $this->clickLink('Configure', 0); $edit = [ 'filter_key' => 'y',