Updated to PHPUnit 6

This commit is contained in:
Gabriel Caruso 2017-11-04 08:21:40 -02:00 committed by Henrique Moody
commit 93ce9cb93a
No known key found for this signature in database
GPG key ID: 221E9281655813A6
129 changed files with 348 additions and 141 deletions

View file

@ -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()
{