From 7af2dfd3d04c98c1fc61155f60442b2a28762179 Mon Sep 17 00:00:00 2001
From: Ilias Dimopoulos <idimopoulos@hotmail.com>
Date: Thu, 4 Apr 2024 13:19:20 +0300
Subject: [PATCH] ISAICP-8609: Fix the expected logo.

---
 tests/src/Context/HeaderContext.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/src/Context/HeaderContext.php b/tests/src/Context/HeaderContext.php
index 9079722e72..6738baa84d 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.');
   }
 
   /**
-- 
GitLab