Browse Source

pdlog clear to 2022-01-10

stanley-king 3 years ago
parent
commit
f969b89086
2 changed files with 2 additions and 2 deletions
  1. 1 1
      helper/refill/RefillBase.php
  2. 1 1
      test/TestRefillClear.php

+ 1 - 1
helper/refill/RefillBase.php

@@ -163,7 +163,7 @@ class RefillBase
             $mod_refill->edit($order_id, ['notify_time' => time(), 'is_retrying' => 0,'notify_state' => 1]);
             util::pop_queue_order($mchid,$mch_order);
             QueueClient::push("NotifyMerchantComplete", ['order_id' => $order_id,'manual' => false]);
-            
+
             return true;
         }
         catch (Exception $ex) {

+ 1 - 1
test/TestRefillClear.php

@@ -421,7 +421,7 @@ class TestRefillClear extends TestCase
     //docker-compose run -d phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestRefillClear::testLog202201)( .*)?$/" --test-suffix TestRefillClear.php /var/www/html/test
     public function testLog202201()
     {
-        $this->delete_log(2349709232,strtotime('2022-01-05'));
+        $this->delete_log(2628951822,strtotime('2022-01-10'));
     }
 
     private function delete_log($start_id,$endtime)