diff --git a/tests/src/Functional/ContentConsultationRenderTest.php b/tests/src/Functional/ContentConsultationRenderTest.php index 13c28d68ae..d545c49090 100644 --- a/tests/src/Functional/ContentConsultationRenderTest.php +++ b/tests/src/Functional/ContentConsultationRenderTest.php @@ -49,7 +49,6 @@ protected function setUp(): void { * Tests Consultation full view mode rendering. */ public function testConsultationRendering(): void { - $this->markTestSkipped('Must be re-enabled before considering migration to ECL 4 as complete.'); // Create documents. $document = $this->createMediaDocument('consultation_document'); // Create general contacts. @@ -85,7 +84,7 @@ public function testConsultationRendering(): void { $this->drupalGet($node->toUrl()); // Assert page header - metadata. - $page_header = $this->assertSession()->elementExists('css', '.ecl-page-header.ecl-page-header--negative'); + $page_header = $this->assertSession()->elementExists('css', '.ecl-page-header.ecl-page-header'); $page_header_assert = new PatternPageHeaderAssert(); $page_header_expected_values = [ 'title' => 'Test Consultation node', diff --git a/tests/src/Kernel/ConsultationRenderTest.php b/tests/src/Kernel/ConsultationRenderTest.php index 5e32cbbd97..5bb6f18928 100644 --- a/tests/src/Kernel/ConsultationRenderTest.php +++ b/tests/src/Kernel/ConsultationRenderTest.php @@ -61,7 +61,6 @@ protected function setUp(): void { * Test a consultation being rendered as a teaser. */ public function testTeaser(): void { - $this->markTestSkipped('Must be re-enabled before considering migration to ECL 4 as complete.'); // Freeze the time at a specific point. $static_time = new DrupalDateTime('2020-02-17 14:00:00', DateTimeItemInterface::STORAGE_TIMEZONE);