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:
parent
8fe2b9ec69
commit
60df892517
7 changed files with 21 additions and 13 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue