Skip to content

Commit

Permalink
EWPP-3873: Update tests for "Consultation" content type.
Browse files Browse the repository at this point in the history
  • Loading branch information
fmmribeiro committed Jan 31, 2024
1 parent 2555076 commit 50a5fde
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions tests/src/Functional/ContentConsultationRenderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion tests/src/Kernel/ConsultationRenderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 50a5fde

Please sign in to comment.