Skip to content

Commit

Permalink
fix phpunit error
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Apr 15, 2020
1 parent 4f8d7a6 commit b8f1e7a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
$loader = require dirname(__DIR__) . '/vendor/autoload.php';
$loader->addPsr4('SwoftTest\\Testing\\', $vendor . '/swoft/framework/test/testing/');

$application = new TestApplication([
'basePath' => $baseDir,
]);
$application = new TestApplication($baseDir);
$application->setBeanFile($baseDir . '/app/bean.php');
$application->run();

0 comments on commit b8f1e7a

Please sign in to comment.