mirror of
https://github.com/composer/composer
synced 2025-05-10 09:02:59 +00:00
[Tests] Use static data providers (#11197)
This commit is contained in:
parent
0cf57255d4
commit
8ff237afb6
86 changed files with 715 additions and 723 deletions
|
@ -94,8 +94,8 @@ class RuleTest extends TestCase
|
|||
public function testPrettyString(): void
|
||||
{
|
||||
$pool = new Pool([
|
||||
$p1 = $this->getPackage('foo', '2.1'),
|
||||
$p2 = $this->getPackage('baz', '1.1'),
|
||||
$p1 = self::getPackage('foo', '2.1'),
|
||||
$p2 = self::getPackage('baz', '1.1'),
|
||||
]);
|
||||
|
||||
$repositorySetMock = $this->getMockBuilder('Composer\Repository\RepositorySet')->disableOriginalConstructor()->getMock();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue