Fix tests
parent
63d52b3e1b
commit
deb6ecd49b
|
@ -90,6 +90,7 @@ class VersionParserTest extends \PHPUnit_Framework_TestCase
|
|||
'parses x' => array('v1.x', '1.9999999.9999999.9999999-dev'),
|
||||
'parses *' => array('v1.*', '1.9999999.9999999.9999999-dev'),
|
||||
'parses digits' => array('v1.0', '1.0.9999999.9999999-dev'),
|
||||
'parses digits/2' => array('2.0', '2.0.9999999.9999999-dev'),
|
||||
'parses long x' => array('v1.0.x', '1.0.9999999.9999999-dev'),
|
||||
'parses long *' => array('v1.0.3.*', '1.0.3.9999999-dev'),
|
||||
'parses long digits' => array('v2.4.0', '2.4.0.9999999-dev'),
|
||||
|
|
|
@ -99,7 +99,7 @@ class FilesystemRepositoryTest extends TestCase
|
|||
->expects($this->once())
|
||||
->method('write')
|
||||
->with(array(
|
||||
array('name' => 'mypkg', 'type' => 'library', 'names' => array('mypkg'), 'version' => '0.1.10')
|
||||
array('name' => 'mypkg', 'type' => 'library', 'names' => array('mypkg'), 'version' => '0.1.10', 'version_normalized' => '0.1.10.0')
|
||||
));
|
||||
|
||||
$repository->addPackage($this->getPackage('mypkg', '0.1.10'));
|
||||
|
|
Loading…
Reference in New Issue