diff --git a/.gitignore b/.gitignore index 2140d19..d5c3212 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ vendor/ composer.lock phpunit.phar +.phpunit.result.cache \ No newline at end of file diff --git a/phpunit.xml b/phpunit.xml index 36f0c40..7b749b4 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,17 +1,12 @@ - - ./tests/ + tests - + \ No newline at end of file diff --git a/tests/PersianValidationTest.php b/tests/PersianValidationTest.php index d500bd5..c729daf 100644 --- a/tests/PersianValidationTest.php +++ b/tests/PersianValidationTest.php @@ -34,13 +34,9 @@ class PersianValidationTest extends TestCase */ protected $persianValidator; - /** - * PersianValidationTest constructor. - */ - public function __construct() + protected function setUp(): void { $this->persianValidator = new PersianValidators(); - parent::__construct(); } /**