Kaynağa Gözat

testrefill update setUpBeforeClass

ayHaru 4 yıl önce
ebeveyn
işleme
1799dbea75
1 değiştirilmiş dosya ile 8 ekleme ve 0 silme
  1. 8 0
      test/TestRefill.php

+ 8 - 0
test/TestRefill.php

@@ -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([]);