修正单元测试mock

This commit is contained in:
thinkphp
2016-03-25 23:02:50 +08:00
parent 0ddea95f80
commit f737bc1618

View File

@@ -20,5 +20,5 @@ define('APP_DEBUG', true);
// 关闭应用自动执行
define('APP_AUTO_RUN', false);
// 加载框架引导文件
require __DIR__ . '/../think.php';
require __DIR__ . '/../start.php';
\think\Loader::addNamespace('tests', TEST_PATH);