Skip to content

Commit

Permalink
Fixed binary tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Halleck45 committed Dec 12, 2019
1 parent 55972b6 commit bfc15d2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/binary/BinTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class BinFileTest extends \PHPUnit\Framework\TestCase
{
private $phar;

public function __construct()
public function setUp()
{
$this->phar = __DIR__ . '/../../bin/phpmetrics';
}
Expand Down
2 changes: 1 addition & 1 deletion tests/binary/PharTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class PharTest extends \PHPUnit\Framework\TestCase
{
private $phar;

public function __construct()
public function setUp()
{
$this->phar = __DIR__ . '/../../releases/phpmetrics.phar';
}
Expand Down
2 changes: 1 addition & 1 deletion tests/binary/ReportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class BinReportTest extends \PHPUnit\Framework\TestCase
{
private $phar;

public function __construct()
public function setUp()
{
$this->phar = __DIR__ . '/../../bin/phpmetrics';
}
Expand Down

0 comments on commit bfc15d2

Please sign in to comment.