|
@@ -34,6 +34,7 @@ class TestRefillCommand extends TestCase
|
|
|
//docker-compose run -d phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestRefillCommand::testRefillStatYesterday)( .*)?$/" --test-suffix TestRefillCommand.php /var/www/html/test
|
|
|
public function testRefillStatYesterday()
|
|
|
{
|
|
|
+ Log::record("start testRefillStatYesterday",Log::DEBUG);
|
|
|
$end_date = strtotime(date('Y-m-d',time()));
|
|
|
$start_date = $end_date - 86400;
|
|
|
|