|
@@ -275,8 +275,10 @@ class TestRefill extends TestCase
|
|
|
public function testFeiniaoPhone()
|
|
|
{
|
|
|
$providers = new refill\feiniao\RefillPhone([]);
|
|
|
-// $resp = $providers->add('18500608333', 5, 100, ['order_sn' => $this->make_sn()]);
|
|
|
-// $resp = $providers->query(['order_sn' => '64591617090761169983']);
|
|
|
+// $order_sn = $this->make_sn();
|
|
|
+// Log::record($order_sn, Log::DEBUG);
|
|
|
+// $resp = $providers->add('18500608333', 5, 100, ['order_sn' => $order_sn]);
|
|
|
+ $resp = $providers->query(['order_sn' => '15441617095424773754']);
|
|
|
$params['result'] = 'fail';
|
|
|
$params['msg'] = '0';
|
|
|
$params['order'] = 'null';
|
|
@@ -285,7 +287,7 @@ class TestRefill extends TestCase
|
|
|
$params['op_no'] = '64591617090761169983';
|
|
|
$params['settle'] = '0';
|
|
|
$params['sign'] = '907d2640f96e8d78d59202d090ddb470';
|
|
|
- refill\RefillFactory::instance()->notify('feiniao',$params);
|
|
|
+// refill\RefillFactory::instance()->notify('feiniao',$params);
|
|
|
}
|
|
|
|
|
|
public function testTongyPhone()
|
|
@@ -398,7 +400,8 @@ class TestRefill extends TestCase
|
|
|
public function testAfandnewPhone()
|
|
|
{
|
|
|
$providers = new refill\afandnew\RefillPhone([]);
|
|
|
- $resp = $providers->query(['order_sn' => '54481615109732967195']);
|
|
|
+ $resp = $providers->add(18500608333, 5, 50, ['order_sn' => $this->make_sn()]);
|
|
|
+// $resp = $providers->query(['order_sn' => '54481615109732967195']);
|
|
|
// $input['order_id'] = '54481615109732967195';
|
|
|
// $input['mchid'] = 10002;
|
|
|
// $input['tel'] = 13699279618;
|