diff --git a/core_search_facets/src/Tests/HooksTest.php b/core_search_facets/src/Tests/HooksTest.php index a15bcc9..a5865ce 100644 --- a/core_search_facets/src/Tests/HooksTest.php +++ b/core_search_facets/src/Tests/HooksTest.php @@ -33,9 +33,7 @@ class HooksTest extends WebTestBase { */ public function setUp() { parent::setUp(); - - $this->drupalCreateContentType(['type' => 'page']); - + // Create a field of type float. FieldStorageConfig::create( [ diff --git a/core_search_facets/src/Tests/IntegrationTest.php b/core_search_facets/src/Tests/IntegrationTest.php index dfab74f..1d00fc6 100644 --- a/core_search_facets/src/Tests/IntegrationTest.php +++ b/core_search_facets/src/Tests/IntegrationTest.php @@ -77,7 +77,7 @@ class IntegrationTest extends CoreSearchFacetsWebTestBase { /** * Tests that an url alias works correctly. */ - public function _testUrlAlias() { + public function testUrlAlias() { $facet_id = 'ab_facet'; $facet_name = 'ab>Facet'; @@ -129,7 +129,7 @@ class IntegrationTest extends CoreSearchFacetsWebTestBase { /** * Tests various operations via the Facets' admin UI. */ - public function _testFramework() { + public function testFramework() { $facet_name = "Test Facet name"; $facet_id = 'test_facet_name';