stanley-king 1 rok temu
rodzic
commit
236831864e
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      test/TestRefund.php

+ 5 - 0
test/TestRefund.php

@@ -202,8 +202,11 @@ class TestRefund extends TestCase
 
         $reader = new statistics\order_reader();
         $gen = $reader->refill_vr_reader($cond);
+
+        $count = 0;
         foreach ($gen as $item)
         {
+            $count += 1;
             $chname = $item['channel_name'];
             $provider = $this->getProvider($chname);
             [$status, $order_state, $charge_id] = $provider->query($item);
@@ -227,6 +230,8 @@ class TestRefund extends TestCase
             }
         }
 
+        Log::record("all item is $count",Log::DEBUG);
+        
         fclose($fsucc);
         fclose($fcancel);
         fclose($ferr);