stanley-king 3 år sedan
förälder
incheckning
fa4ffbd6a5
1 ändrade filer med 3 tillägg och 2 borttagningar
  1. 3 2
      test/TestRefillThird.php

+ 3 - 2
test/TestRefillThird.php

@@ -79,12 +79,13 @@ class TestRefillThird extends TestCase
 
     public function testPushPhones()
     {
-        for ($i = 0; $i < 10000; $i++)
+        $time = time();
+        for ($i = 0; $i < 1000000; $i++)
         {
             $params = [ 'mchid' => 1092,
                 'buyer_id' => 60221,
                 'amount' => 30,
-                'mch_order' => $this->make_sn(),
+                'mch_order' => "{$time}" . sprintf("%'010d",$i),
                 'org_quality' => 1,
                 'card_no' => '13911129867'
             ];