mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 23:59:51 +01:00
Rename rule "Int" to "IntVal"
This commit is contained in:
parent
3e1f86baf8
commit
9b85df4601
35 changed files with 76 additions and 76 deletions
|
|
@ -31,7 +31,7 @@ class AbstractNestedExceptionTest extends \PHPUnit_Framework_TestCase
|
|||
public function testGetRelatedShouldReturnExceptionAddedByAddRelated()
|
||||
{
|
||||
$composite = new AttributeException();
|
||||
$node = new IntException();
|
||||
$node = new IntValException();
|
||||
$composite->addRelated($node);
|
||||
$this->assertEquals(1, count($composite->getRelated(true)));
|
||||
$this->assertContainsOnly($node, $composite->getRelated());
|
||||
|
|
@ -40,7 +40,7 @@ class AbstractNestedExceptionTest extends \PHPUnit_Framework_TestCase
|
|||
public function testAddingTheSameInstanceShouldAddJustASingleReference()
|
||||
{
|
||||
$composite = new AttributeException();
|
||||
$node = new IntException();
|
||||
$node = new IntValException();
|
||||
$composite->addRelated($node);
|
||||
$composite->addRelated($node);
|
||||
$composite->addRelated($node);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue