From 208a73564586f80c7c9882018dbaa8907ec3aa70 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Wed, 29 Apr 2020 22:54:33 +0200 Subject: [PATCH] PoolBuilder Failing test: fixed package is not only pkg loaded for that name --- .../fixed-packages-do-not-load-from-repos.test | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/fixed-packages-do-not-load-from-repos.test b/tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/fixed-packages-do-not-load-from-repos.test index f1dbd69fe..0abc4a67e 100644 --- a/tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/fixed-packages-do-not-load-from-repos.test +++ b/tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/fixed-packages-do-not-load-from-repos.test @@ -3,21 +3,30 @@ Fixed packages do not get loaded from the repos --REQUEST-- { - "some/pkg": "*" + "some/pkg": "*", + "root/req": "*" } --FIXED-- [ - {"name": "some/pkg", "version": "1.0.3", "id": 1} + {"name": "some/pkg", "version": "1.0.3", "id": 1}, + {"name": "dep/dep", "version": "2.1.5", "id": 2} ] --PACKAGES-- [ {"name": "some/pkg", "version": "1.0.0"}, - {"name": "some/pkg", "version": "1.1.0"} + {"name": "some/pkg", "version": "1.1.0"}, + {"name": "root/req", "version": "1.0.0", "require": {"dep/dep": "2.*"}}, + {"name": "root/req", "version": "2.0.0", "require": {"dep/dep": "3.*"}}, + {"name": "dep/dep", "version": "2.3.4"}, + {"name": "dep/dep", "version": "3.0.1"} ] --EXPECT-- [ - 1 + 1, + 2, + "root/req-1.0.0.0", + "root/req-2.0.0.0" ]