|
@@ -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";
|