Skip to content

Commit

Permalink
OEL-1585: Fix logo url link in neutral flavour and test coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
escuriola committed May 18, 2022
1 parent 1a42fa6 commit 2f17179
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/Kernel/SiteBrandingBlockTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public function testBlockRendering(): void {
$link = $actual->filter('.text-decoration-none.align-bottom');
$this->assertCount(1, $link);
$actual = $crawler->filter('.site-logo.d-none.d-lg-inline-block');
$this->assertSame(Url::fromRoute('<front>')->toString(), $actual->attr('href'));
$this->assertCount(1, $actual);
$logo = $actual->filter('img');
$this->assertCount(1, $logo);
Expand All @@ -94,6 +95,7 @@ public function testBlockRendering(): void {
$link = $actual->filter('.text-decoration-none.align-bottom');
$this->assertCount(1, $link);
$actual = $crawler->filter('.site-logo.d-none.d-lg-inline-block');
$this->assertSame(Url::fromRoute('<front>')->toString(), $actual->attr('href'));
$this->assertCount(1, $actual);
$logo = $actual->filter('img');
$this->assertCount(1, $logo);
Expand Down

0 comments on commit 2f17179

Please sign in to comment.