mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 15:25:45 +01:00
Updated to PHPUnit 6
This commit is contained in:
parent
5b7ea399c0
commit
93ce9cb93a
129 changed files with 348 additions and 141 deletions
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
namespace Respect\Validation\Exceptions;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* phpunit has an issue with mocking exceptions when in HHVM:
|
||||
* https://github.com/sebastianbergmann/phpunit-mock-objects/issues/207.
|
||||
|
|
@ -19,7 +21,7 @@ class PrivateNestedValidationException extends NestedValidationException
|
|||
{
|
||||
}
|
||||
|
||||
class NestedValidationExceptionTest extends \PHPUnit_Framework_TestCase
|
||||
class NestedValidationExceptionTest extends TestCase
|
||||
{
|
||||
public function testGetRelatedShouldReturnExceptionAddedByAddRelated()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue