upgrade dependencies (php7)

This commit is contained in:
Simon Vieille 2020-01-20 11:04:04 +01:00
commit cd43e2fed9
Signed by: deblan
GPG key ID: 03383D15A1D31745
6 changed files with 14 additions and 7 deletions

View file

@ -1,18 +1,19 @@
<?php
use PHPUnit\Framework\TestCase;
use Deblan\Csv\CsvParser;
use Deblan\CsvValidator\Validator;
use Symfony\Component\Validator\Validation;
use Symfony\Component\Validator\Constraints\NotBlank;
use Symfony\Component\Validator\Constraints\Email;
class ValidatorTest extends \PHPUnit_Framework_TestCase
class ValidatorTest extends TestCase
{
public function testViolation()
{
$parser = $this->generateParser('example.csv');
$validator = $this->generateValidator($parser);
$this->setExpectedException('\RuntimeException');
$this->expectException('\RuntimeException');
$validator->isValid();
}