stanley-king vor 3 Jahren
Ursprung
Commit
ba4e158477
2 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  1. 0 2
      helper/refill/divert_account.php
  2. 1 0
      test/TestAccountDivert.php

+ 0 - 2
helper/refill/divert_account.php

@@ -23,7 +23,6 @@ class divert_account
             $trans->commit();
 
             [$succ, $available_amounts, $freeze_amounts] = $mod_divert->stat_member($member_id);
-
             if (round($available_amounts - $minfo->available_predeposit(), 4) == 0.0000) {
                 Log::record("available_predeposit = {$available_amounts} is ok",Log::DEBUG);
             } else {
@@ -139,7 +138,6 @@ class divert_account
         foreach ($mids as $mid) {
             $ret = $this->init_member($mid);
             Log::record("init_merchants {$mid}:" . $ret ? 'true' : 'false', Log::DEBUG);
-
         }
     }
 

+ 1 - 0
test/TestAccountDivert.php

@@ -28,6 +28,7 @@ class TestAccountDivert extends TestCase
         $helper = new refill\divert_account();
         $helper->init_merchants();
     }
+    //docker-compose run phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestAccountDivert::testInitMerchants)( .*)?$/" --test-suffix TestAccountDivert.php /var/www/html/test
 
     public function testDivertMember()
     {