From b8f1e7a4036e98389533a1b2984df32c9e862d09 Mon Sep 17 00:00:00 2001 From: inhere Date: Wed, 15 Apr 2020 14:21:53 +0800 Subject: [PATCH] fix phpunit error --- test/bootstrap.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/bootstrap.php b/test/bootstrap.php index 90b41c5e..95509527 100644 --- a/test/bootstrap.php +++ b/test/bootstrap.php @@ -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();