stanley-king 1 gadu atpakaļ
vecāks
revīzija
579ab234b3
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      test/TestCommand.php

+ 2 - 0
test/TestCommand.php

@@ -25,6 +25,7 @@ class TestCommand extends TestCase
         Base::run_util();
     }
 
+    //docker-compose run -d phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestCommand::testExportCard)( .*)?$/" --test-suffix TestCommand.php /var/www/html/test
     public function testExportCard()
     {
         $filename = BASE_DATA_PATH . "/log/cards.csv";
@@ -42,6 +43,7 @@ class TestCommand extends TestCase
             foreach ($items as $item) {
                 $card_no = $item['card_no'];
                 fputcsv($fcards, [$card_no]);
+                $start = $card_no;
             }
         }