diff --git a/tests/src/Context/HeaderContext.php b/tests/src/Context/HeaderContext.php index 9079722e72fa785b57bb2ae749f52444b56bf20f..6738baa84d975dddf165b0b5336436ae901c93bc 100644 --- a/tests/src/Context/HeaderContext.php +++ b/tests/src/Context/HeaderContext.php @@ -42,8 +42,8 @@ public function assertLogo(): void { $logo_element = $link_element->find('css', 'img.navbar-brand-image'); Assert::assertInstanceOf(NodeElement::class, $logo_element, 'A logo is present in the navbar.'); Assert::assertEquals('Interoperable Europe logo', $logo_element->getAttribute('alt'), 'The logo has an alt text.'); - $expected_logo_uri = base_path() . \Drupal::service('extension.list.theme')->getPath('ventuno') . '/assets/images/logo.svg'; - Assert::assertEquals($expected_logo_uri, $logo_element->getAttribute('src'), 'The Interoperable Europe logo is shown in the navbar.'); + $expected_logo_uri = base_path() . \Drupal::service('extension.list.theme')->getPath('ventuno') . '/assets/images/logo-interoperable-europe.svg'; + Assert::assertEquals($expected_logo_uri, $logo_element->getAttribute('src'), 'The Joinup logo is shown in the navbar.'); } /**