|
@@ -24,6 +24,21 @@ class TestRefillMonitor extends TestCase
|
|
Base::run_util();
|
|
Base::run_util();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public function testLooperChecker()
|
|
|
|
+ {
|
|
|
|
+// refill\util::loop_order_dec('13911129867',10);
|
|
|
|
+// refill\util::loop_order_dec('13911129867',10);
|
|
|
|
+// refill\util::loop_order_dec('13911129867',20);
|
|
|
|
+// refill\util::loop_order_dec('13911129867',30);
|
|
|
|
+
|
|
|
|
+ refill\util::loop_order_inc('13911129867',10);
|
|
|
|
+ refill\util::loop_order_inc('13911129867',10);
|
|
|
|
+ refill\util::loop_order_dec('13911129867',10);
|
|
|
|
+ refill\util::loop_order_dec('13911129867',10);
|
|
|
|
+ refill\util::loop_order_inc('13911129867',20);
|
|
|
|
+ refill\util::loop_order_inc('13911129867',30);
|
|
|
|
+ }
|
|
|
|
+
|
|
//docker-compose run phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestRefillMonitor::testPushMessage)( .*)?$/" --test-suffix TestRefillMonitor.php /var/www/html/test
|
|
//docker-compose run phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestRefillMonitor::testPushMessage)( .*)?$/" --test-suffix TestRefillMonitor.php /var/www/html/test
|
|
public function testPushMessage()
|
|
public function testPushMessage()
|
|
{
|
|
{
|