diff --git a/tests/Composer/Test/Fixtures/installer/github-issues-4795.test b/tests/Composer/Test/Fixtures/installer/github-issues-4795.test
index f526e4220..36f4fc76d 100644
--- a/tests/Composer/Test/Fixtures/installer/github-issues-4795.test
+++ b/tests/Composer/Test/Fixtures/installer/github-issues-4795.test
@@ -50,8 +50,8 @@ update b/b --with-dependencies
--EXPECT-OUTPUT--
Loading composer repositories with package information
-Updating dependencies
Dependency "a/a" is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
+Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
diff --git a/tests/Composer/Test/Fixtures/installer/update-allow-list-warns-non-existing-patterns.test b/tests/Composer/Test/Fixtures/installer/update-allow-list-warns-non-existing-patterns.test
index d4d258112..4d07bc245 100644
--- a/tests/Composer/Test/Fixtures/installer/update-allow-list-warns-non-existing-patterns.test
+++ b/tests/Composer/Test/Fixtures/installer/update-allow-list-warns-non-existing-patterns.test
@@ -44,9 +44,9 @@ update b/b foo/bar baz/* --with-dependencies
--EXPECT-OUTPUT--
Loading composer repositories with package information
-Updating dependencies
Package "foo/bar" listed for update is not locked.
Pattern "baz/*" listed for update does not match any locked packages.
+Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
- Upgrading b/b (1.0.0 => 1.1.0)
Writing lock file