Skip to content

Commit

Permalink
OEL-719: Adapt authentication test to new icon classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
drishu committed Oct 29, 2021
1 parent c0e9e13 commit 996467d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/Kernel/AuthenticationBlockTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function testBlockRendering(): void {
$actual = $crawler->filter('.oe-authentication');
$this->assertCount(1, $actual);
$icon = $actual->filter('svg');
$this->assertSame('bi icon--xs', $icon->attr('class'));
$this->assertSame('ms-2-5 bi icon--xs', $icon->attr('class'));
$use = $icon->filter('use');
$expected = '/themes/contrib/oe_bootstrap_theme/assets/icons/bootstrap-icons.svg#person-fill';
$this->assertSame($expected, $use->attr('xlink:href'));
Expand Down

0 comments on commit 996467d

Please sign in to comment.