|
@@ -7,17 +7,30 @@
|
|
|
* Time: 下午5:29
|
|
|
*/
|
|
|
|
|
|
+use PHPUnit\Framework\TestCase;
|
|
|
+
|
|
|
+/**
|
|
|
+ * Created by PhpStorm.
|
|
|
+ * User: stanley-king
|
|
|
+ * Date: 16/6/27
|
|
|
+ * Time: 下午10:27
|
|
|
+ */
|
|
|
+
|
|
|
define('BASE_ROOT_PATH',str_replace('/test','',dirname(__FILE__)));
|
|
|
|
|
|
+require_once(BASE_ROOT_PATH . '/global.php');
|
|
|
+require_once(BASE_CORE_PATH . '/lrlz.php');
|
|
|
+require_once(BASE_ROOT_PATH . '/fooder.php');
|
|
|
+
|
|
|
require_once(BASE_ROOT_PATH . '/fooder.php');
|
|
|
require_once(BASE_ROOT_PATH . '/helper/activity_helper.php');
|
|
|
require_once(BASE_ROOT_PATH . '/helper/goods_helper.php');
|
|
|
require_once(BASE_ROOT_PATH . '/helper/message/msgutil.php');
|
|
|
|
|
|
|
|
|
-class TestActivity extends PHPUnit_Framework_TestCase
|
|
|
+class TestActivity extends TestCase
|
|
|
{
|
|
|
- public static function setUpBeforeClass()
|
|
|
+ public static function setUpBeforeClass() : void
|
|
|
{
|
|
|
Base::run_util();
|
|
|
}
|