From 85950f8e9a7f9901c061456ceb43317d59b23661 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Fri, 28 Aug 2020 13:19:59 +0200 Subject: [PATCH] Fix provider coexistence test, needs another requirement to install both --- ...talled-together-with-provided-if-both-installable.test | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/Composer/Test/Fixtures/installer/provider-packages-can-be-installed-together-with-provided-if-both-installable.test b/tests/Composer/Test/Fixtures/installer/provider-packages-can-be-installed-together-with-provided-if-both-installable.test index 9abe90dd8..6153fcbc0 100644 --- a/tests/Composer/Test/Fixtures/installer/provider-packages-can-be-installed-together-with-provided-if-both-installable.test +++ b/tests/Composer/Test/Fixtures/installer/provider-packages-can-be-installed-together-with-provided-if-both-installable.test @@ -15,12 +15,16 @@ Test that providers can be installed in conjunction with the package they provid }, { "name": "foo/standard", - "version": "1.0.0" + "version": "1.0.0", + "provide": { + "foo/also-necessary": "1.0.0" + } } ] } ], "require": { + "foo/also-necessary": "1.0.0", "foo/standard": "1.0.0", "foo/polyfill": "1.0.0" } @@ -30,5 +34,5 @@ Test that providers can be installed in conjunction with the package they provid update --EXPECT-- -Installing foo/standard (1.0.0) Installing foo/polyfill (1.0.0) +Installing foo/standard (1.0.0)