Upgrade PHPUnit version

The changes you see in this commit had to be made due to the upgrade of
PHPunit version.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
This commit is contained in:
Henrique Moody 2018-08-22 23:25:46 +02:00
commit c7fcc09af6
No known key found for this signature in database
GPG key ID: 221E9281655813A6
4 changed files with 6 additions and 7 deletions

View file

@ -29,7 +29,7 @@ class NestedValidationExceptionTest extends TestCase
$node = new IntValException('input', 'id', [], 'trim');
$composite->addChild($node);
self::assertCount(1, $composite->getChildren(true));
self::assertContainsOnly($node, $composite->getChildren());
self::assertContainsOnly(IntValException::class, $composite->getChildren());
}
/**
@ -43,6 +43,6 @@ class NestedValidationExceptionTest extends TestCase
$composite->addChild($node);
$composite->addChild($node);
self::assertCount(1, $composite->getChildren(true));
self::assertContainsOnly($node, $composite->getChildren());
self::assertContainsOnly(IntValException::class, $composite->getChildren());
}
}