123456789101112131415161718192021222324252627282930313233343536373839404142 |
- --TEST--
- Updating a dev package to its latest ref should pick up new dependencies
- --COMPOSER--
- {
- "repositories": [
- {
- "type": "package",
- "package": [
- {
- "name": "a/devpackage", "version": "dev-master",
- "source": { "reference": "newref", "url": "", "type": "git" },
- "require": {
- "a/dependency": "*"
- }
- },
- {
- "name": "a/dependency", "version": "dev-master",
- "source": { "reference": "ref", "url": "", "type": "git" },
- "require": {}
- }
- ]
- }
- ],
- "require": {
- "a/devpackage": "dev-master"
- },
- "minimum-stability": "dev"
- }
- --INSTALLED--
- [
- {
- "name": "a/devpackage", "version": "dev-master",
- "source": { "reference": "oldref", "url": "", "type": "git" },
- "require": {}
- }
- ]
- --RUN--
- update
- --EXPECT--
- Installing a/dependency (dev-master ref)
- Marking a/dependency (9999999-dev ref) as installed, alias of a/dependency (dev-master ref)
- Upgrading a/devpackage (dev-master oldref => dev-master newref)
|