Skip to content

Commit

Permalink
EWPP-3872: Update tests for call for tenders.
Browse files Browse the repository at this point in the history
  • Loading branch information
imanoleguskiza authored and 22Alexandra committed Jan 29, 2024
1 parent 5ad494c commit 8635a56
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/ContentCallForTendersRenderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class ContentCallForTendersRenderTest extends ContentRenderTestBase {
* Tests that the Call for tenders page renders correctly.
*/
public function testTenderRendering(): 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);
$this->freezeTime($static_time);
Expand Down Expand Up @@ -66,7 +65,7 @@ public function testTenderRendering(): 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');
$page_header_assert = new PatternPageHeaderAssert();
$page_header_expected_values = [
'title' => 'Test Call for tenders node',
Expand Down
1 change: 0 additions & 1 deletion tests/src/Kernel/CallForTendersRenderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ protected function setUp(): void {
* Test a call for tenders 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 8635a56

Please sign in to comment.