|
@@ -14,6 +14,8 @@ require_once(BASE_ROOT_PATH . '/helper/room/factory_client.php');
|
|
|
require_once(BASE_ROOT_PATH . '/helper/room/proto_type.php');
|
|
|
require_once(BASE_ROOT_PATH . '/helper/room/room_info.php');
|
|
|
require_once(BASE_ROOT_PATH . '/helper/room/author.php');
|
|
|
+require_once (BASE_CORE_PATH . "/framework/function/http.php");
|
|
|
+
|
|
|
|
|
|
class TestTalk extends PHPUnit_Framework_TestCase
|
|
|
{
|
|
@@ -75,4 +77,9 @@ class TestTalk extends PHPUnit_Framework_TestCase
|
|
|
$content = base64_decode($data);
|
|
|
$val = json_decode($content,true);
|
|
|
}
|
|
|
+ public function testTalklist()
|
|
|
+ {
|
|
|
+ $x = http_post_data("http://a.lrlz.com/mobile/index.php",'act=member_talk&op=talks',['Client-Type: ios','Client-Version: 3.4']);
|
|
|
+ $x = http_post_data("http://192.168.0.200/mobile/index.php",'act=member_talk&op=talks',['Client-Type: ios','Client-Version: 3.4']);
|
|
|
+ }
|
|
|
}
|