Skip to content

Commit

Permalink
OEL-2002: Fix test looking for overriden url.
Browse files Browse the repository at this point in the history
  • Loading branch information
drishu committed Sep 14, 2022
1 parent 0b329d0 commit 8440819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/Kernel/MultilingualBlockTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function testBlockRendering(): void {
$this->assertCount(1, $block);
$link = $crawler->filter('div.language-switcher > a');
$this->assertSame('English', trim($link->text()));
$this->assertSame('#', $link->attr('href'));
$this->assertSame('http://localhost/bg/%3Cnone%3E', $link->attr('href'));
$title = $crawler->filter('div#languageModal h5');
$this->assertSame('Select your language', $title->text());
$button_header = $crawler->filter('button.btn-close');
Expand Down

0 comments on commit 8440819

Please sign in to comment.