1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Fixed tests related to constraint changes

This commit is contained in:
Yanick Witschi 2020-04-30 17:40:06 +02:00 committed by Jordi Boggiano
parent bca88bdd4b
commit 8e2dd62d10
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
3 changed files with 6 additions and 5 deletions

View file

@ -14,6 +14,7 @@ namespace Composer\Test\DependencyResolver;
use Composer\DependencyResolver\Request;
use Composer\Repository\ArrayRepository;
use Composer\Semver\Constraint\EmptyConstraint;
use Composer\Test\TestCase;
class RequestTest extends TestCase
@ -34,7 +35,7 @@ class RequestTest extends TestCase
$this->assertEquals(
array(
'foo' => null,
'foo' => new EmptyConstraint(),
),
$request->getRequires()
);