stanley-king 1 éve
szülő
commit
6fc4206ec1
2 módosított fájl, 5 hozzáadás és 1 törlés
  1. 2 0
      test/TestRefill.php
  2. 3 1
      test/TestSms.php

+ 2 - 0
test/TestRefill.php

@@ -41,6 +41,8 @@ class TestRefill extends TestCase
             $this->mMchid = 1092;
             $this->mKey = '210fe406954220f56085997d6a4c5b80';
         }
+
+        $this->make_sn();
     }
 
     public static function setUpBeforeClass(): void

+ 3 - 1
test/TestSms.php

@@ -52,6 +52,9 @@ class TestSms extends TestCase
         }
     }
 
+
+
+
     public function testInvitee()
     {
         $sms = new Sms();
@@ -63,7 +66,6 @@ class TestSms extends TestCase
         $params[Sms::tpl_order_complete_inviter] = ['level' => 1,'name' => '桑贵苏','amount' => 2];
         $params[Sms::tpl_order_complete_invitee] = ['name' => '桑贵苏','amount' => 2];
 
-
         foreach ($params as $sms_type => $sms_param) {
             $status = $sms->send_oper($mobile,$sms_type,$sms_param);
         }