diff --git a/tests/binary/BinTest.php b/tests/binary/BinTest.php index 264c4d29..aada20b1 100644 --- a/tests/binary/BinTest.php +++ b/tests/binary/BinTest.php @@ -8,7 +8,7 @@ class BinFileTest extends \PHPUnit\Framework\TestCase { private $phar; - public function __construct() + public function setUp() { $this->phar = __DIR__ . '/../../bin/phpmetrics'; } diff --git a/tests/binary/PharTest.php b/tests/binary/PharTest.php index 8d094b28..cecb304b 100644 --- a/tests/binary/PharTest.php +++ b/tests/binary/PharTest.php @@ -8,7 +8,7 @@ class PharTest extends \PHPUnit\Framework\TestCase { private $phar; - public function __construct() + public function setUp() { $this->phar = __DIR__ . '/../../releases/phpmetrics.phar'; } diff --git a/tests/binary/ReportTest.php b/tests/binary/ReportTest.php index ff0481dd..351d9048 100644 --- a/tests/binary/ReportTest.php +++ b/tests/binary/ReportTest.php @@ -8,7 +8,7 @@ class BinReportTest extends \PHPUnit\Framework\TestCase { private $phar; - public function __construct() + public function setUp() { $this->phar = __DIR__ . '/../../bin/phpmetrics'; }