From d50267a82956c69dd4ddb08b2ecf71ba00367e67 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Fri, 15 Mar 2024 11:06:48 +0000
Subject: [PATCH] Issue #3428032 by longwave: ManageGitIgnoreTest failing in
 HEAD

(cherry picked from commit 7f3bed304c9f4f22d1e2b553ad4a34c7aa5bf365)
---
 .../Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php
index 9e50d3c92bf0..25da3d511954 100644
--- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php
+++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php
@@ -248,7 +248,7 @@ public function testUnmanagedGitIgnoreWhenGitNotAvailable() {
   - Copy [web-root]/robots.txt from assets/robots-default.txt
 
 EOT;
-    $this->assertEquals($expected, $output);
+    $this->assertStringContainsString($expected, $output);
     $this->assertFileExists($sut . '/docroot/index.php');
     $this->assertFileDoesNotExist($sut . '/docroot/sites/default/.gitignore');
   }
-- 
GitLab