|
@@ -3,15 +3,14 @@
|
|
|
namespace think;
|
|
|
|
|
|
// 加载基础文件
|
|
|
-
|
|
|
-
|
|
|
define('BASE_ROOT_PATH',str_replace('/tests','',dirname(__FILE__)));
|
|
|
define('BASE_PATH',BASE_ROOT_PATH . '/tests');
|
|
|
define('APP_ID','tests');
|
|
|
define('BASE_DATA_PATH',BASE_ROOT_PATH . '/data');
|
|
|
+require_once(BASE_ROOT_PATH . '/thinkphp/base.php');
|
|
|
+
|
|
|
|
|
|
require_once(BASE_ROOT_PATH . '/other/config.ini.php');
|
|
|
-require_once(BASE_ROOT_PATH . '/thinkphp/base.php');
|
|
|
require_once(BASE_ROOT_PATH . '/extend/http.php');
|
|
|
require_once(BASE_ROOT_PATH . '/extend/queue.logic.php');
|
|
|
require_once(BASE_ROOT_PATH . '/extend/log.php');
|
|
@@ -30,12 +29,6 @@ class TestIndex extends TestCase
|
|
|
{
|
|
|
$resp = http_request('http://host.docker.internal:8080/CheckOrder',['order_sn' => '123456'],'GET');
|
|
|
}
|
|
|
- public function testInviteBonus()
|
|
|
- {
|
|
|
- $obj = new \app\index\controller\Index;
|
|
|
-
|
|
|
- $obj->_CheckOrder('123456789');
|
|
|
- }
|
|
|
|
|
|
public function testOpenBox()
|
|
|
{
|