|
@@ -17,7 +17,7 @@ require_once(BASE_HELPER_PATH . '/mtopcard/mtopcard.php');
|
|
|
const LocalTest = 1;
|
|
|
const NetTest = 2;
|
|
|
|
|
|
-const CurrentTest = LocalTest;
|
|
|
+const CurrentTest = NetTest;
|
|
|
|
|
|
class TestRefill extends TestCase
|
|
|
{
|
|
@@ -111,8 +111,8 @@ class TestRefill extends TestCase
|
|
|
$params['pay_type'] = 1;
|
|
|
$params['tel'] = 18500608333;
|
|
|
$params['mchid'] = 10014;
|
|
|
- $providers = new refill\weit\RefillCallBack();
|
|
|
- $resp = $providers->verify($params);
|
|
|
+ $body = json_encode($params);
|
|
|
+ $resp = http_post_data($this->mReqHost . "/mobile/refill_weit.php", $body);
|
|
|
}
|
|
|
|
|
|
public function testYifaCB()
|