|
@@ -44,6 +44,7 @@ class TestRefill extends TestCase
|
|
|
public static function setUpBeforeClass(): void
|
|
|
{
|
|
|
Base::run_util();
|
|
|
+ refill\RefillFactory::instance();
|
|
|
}
|
|
|
|
|
|
public function testFactory()
|
|
@@ -210,6 +211,13 @@ class TestRefill extends TestCase
|
|
|
// refill\RefillFactory::instance()->notify('wuchen',$input);
|
|
|
}
|
|
|
|
|
|
+ public function testYibaoPhone()
|
|
|
+ {
|
|
|
+ $providers = new refill\yibao\RefillPhone([]);
|
|
|
+ $resp = $providers->add('13699279618', 5, 30, ['order_sn' => $this->make_sn()]);
|
|
|
+// $resp = $providers->query(['order_sn' => '790668630498425006']);
|
|
|
+ }
|
|
|
+
|
|
|
public function testWeisPhone()
|
|
|
{
|
|
|
$providers = new refill\weisyd\RefillPhone([]);
|