|
@@ -29,28 +29,15 @@ class TestRefillClear extends TestCase
|
|
|
$clear->clear($start_date,$end_date);
|
|
|
}
|
|
|
|
|
|
- public function testPdlogClear()
|
|
|
+ //docker-compose run -d phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestRefillClear::testOrderClearYL)( .*)?$/" --test-suffix TestRefillClear.php /var/www/html/test
|
|
|
+ public function testOrderClearYL()
|
|
|
{
|
|
|
- $start_date = strtotime('2021-09-11');
|
|
|
- $end_date = strtotime('2021-09-13');
|
|
|
-
|
|
|
- $clear = new refill\pdlog_clear();
|
|
|
+ $start_date = strtotime('2022-03-01');
|
|
|
+ $end_date = strtotime('2022-09-01');
|
|
|
+ $clear = new refill\order_clear();
|
|
|
$clear->clear($start_date,$end_date);
|
|
|
}
|
|
|
|
|
|
- //docker-compose run -d phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestRefillClear::testPdlogClearYZAll)( .*)?$/" --test-suffix TestRefillClear.php /var/www/html/test
|
|
|
- public function testPdlogClearYZAll()
|
|
|
- {
|
|
|
- $clear = new refill\pdlog_clear_all();
|
|
|
- $clear->clear(5830744042);
|
|
|
- }
|
|
|
-
|
|
|
- //docker-compose run -d phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestRefillClear::testPdlogClearYLAll)( .*)?$/" --test-suffix TestRefillClear.php /var/www/html/test
|
|
|
- public function testPdlogClearYLAll()
|
|
|
- {
|
|
|
- $clear = new refill\pdlog_clear_all();
|
|
|
- $clear->clear(7371133601);
|
|
|
- }
|
|
|
|
|
|
//docker-compose run phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestRefillClear::testClearFirstDay)( .*)?$/" --test-suffix TestRefillClear.php /var/www/html/test
|
|
|
public function testClearFirstDay()
|