Fix PHP 5.3 compatibility
parent
92f7543222
commit
d1ba698291
|
@ -28,7 +28,7 @@ class RepositoryFactoryTest extends TestCase
|
||||||
$ref->setAccessible(true);
|
$ref->setAccessible(true);
|
||||||
$repositoryClasses = $ref->getValue($manager);
|
$repositoryClasses = $ref->getValue($manager);
|
||||||
|
|
||||||
$this->assertEquals([
|
$this->assertEquals(array(
|
||||||
'composer',
|
'composer',
|
||||||
'vcs',
|
'vcs',
|
||||||
'package',
|
'package',
|
||||||
|
@ -42,6 +42,6 @@ class RepositoryFactoryTest extends TestCase
|
||||||
'hg',
|
'hg',
|
||||||
'artifact',
|
'artifact',
|
||||||
'path',
|
'path',
|
||||||
], array_keys($repositoryClasses));
|
), array_keys($repositoryClasses));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue