Skip to content

Commit

Permalink
fix unit test error for config
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed May 1, 2021
1 parent 671049b commit c29940c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/config/test/unit/PhpConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ class PhpConfigTest extends TestCase
/**
* Set up
*/
public function setUp()
public function setUp(): void
{
$config = new Config();
$config->setPath(__DIR__ . '/../config-php');
$config->setEnv('pro');
$config->init();
;

$this->config = $config;
}
Expand Down

0 comments on commit c29940c

Please sign in to comment.