1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Store dev mode in installed.json, fixes #3008

This commit is contained in:
Jordi Boggiano 2019-02-21 12:27:02 +01:00
parent 8fe2b9ec69
commit 60df892517
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
7 changed files with 21 additions and 13 deletions

View file

@ -95,11 +95,12 @@ class FilesystemRepositoryTest extends TestCase
->expects($this->once())
->method('write')
->with(array(
array('name' => 'mypkg', 'type' => 'library', 'version' => '0.1.10', 'version_normalized' => '0.1.10.0'),
'packages' => array(array('name' => 'mypkg', 'type' => 'library', 'version' => '0.1.10', 'version_normalized' => '0.1.10.0')),
'dev' => true,
));
$repository->addPackage($this->getPackage('mypkg', '0.1.10'));
$repository->write();
$repository->write(true);
}
private function createJsonFileMock()