mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Get rid of EmptyConstraint
This commit is contained in:
parent
cb19347031
commit
67a88880ec
9 changed files with 66 additions and 66 deletions
|
@ -14,7 +14,7 @@ namespace Composer\Test\DependencyResolver;
|
|||
|
||||
use Composer\DependencyResolver\Request;
|
||||
use Composer\Repository\ArrayRepository;
|
||||
use Composer\Semver\Constraint\EmptyConstraint;
|
||||
use Composer\Semver\Constraint\MatchAllConstraint;
|
||||
use Composer\Test\TestCase;
|
||||
|
||||
class RequestTest extends TestCase
|
||||
|
@ -35,7 +35,7 @@ class RequestTest extends TestCase
|
|||
|
||||
$this->assertEquals(
|
||||
array(
|
||||
'foo' => new EmptyConstraint(),
|
||||
'foo' => new MatchAllConstraint(),
|
||||
),
|
||||
$request->getRequires()
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue