ayHaru 4 năm trước cách đây
mục cha
commit
ab52a2fe47
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      test/TestRefill.php

+ 3 - 3
test/TestRefill.php

@@ -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()