1
0
Fork 0

Test: Verify require for package provided by pkg itself is used

pull/9317/head
Nils Adermann 2020-10-22 10:26:28 +02:00
parent b74afd772b
commit 290450214e
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
--TEST--
Test that a package requiring something it provides itself, satisfies itself even though a package exists.
--COMPOSER--
{
"repositories": [
{
"type": "package",
"package": {
"name": "provided/pkg",
"version": "1.0.0"
}
}
],
"require": {
"provided/pkg": "1.0.0"
},
"provide": {
"provided/pkg": "1.0.0"
}
}
--RUN--
update
--EXPECT--