mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 23:35:45 +01:00
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:
parent
9a8cac06d7
commit
c7fcc09af6
4 changed files with 6 additions and 7 deletions
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue