stanley-king 3 éve
szülő
commit
add6af9693
1 módosított fájl, 13 hozzáadás és 0 törlés
  1. 13 0
      test/TestRefillThird.php

+ 13 - 0
test/TestRefillThird.php

@@ -361,6 +361,19 @@ class TestRefillThird extends TestCase
     //docker-compose run phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestRefillThird::testApiRefillAdd)( .*)?$/" --test-suffix TestRefillThird.php /var/www/html/test
 
 
+    public function testApiRefillAddSome()
+    {
+        $time = time();
+
+        for ($i = 0; $i < 2000; $i++)
+        {
+            $this->api_add_order(1092, $time, $i);
+        }
+    }
+    //docker-compose run phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestRefillThird::testApiRefillAddSome)( .*)?$/" --test-suffix TestRefillThird.php /var/www/html/test
+
+
+
     private function api_add_order($mchid,$time,$index)
     {
         $notify_url = "http://test.xyzshops.cn/mobile/callback/bridge_test.php";