|
@@ -102,6 +102,7 @@ class TestAddData extends TestCase
|
|
|
Log::record("{$file} - {$title} start....",Log::DEBUG);
|
|
|
|
|
|
[$type,$amount,$id] = explode('-',$title);
|
|
|
+ Log::record("type = {$type} amount = {$amount}",Log::DEBUG);
|
|
|
|
|
|
if($type == 'p') {
|
|
|
$card_type = mtopcard\PhoneCardPaper;
|
|
@@ -230,6 +231,14 @@ class TestAddData extends TestCase
|
|
|
$this->addFile($file);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ public function test20200902_1_addCard()
|
|
|
+ {
|
|
|
+ $files = ['100-494-643.xlsx','200-779144-193.xlsx','200-779294-343.xlsx','500-794-843.xlsx'];
|
|
|
+ foreach ($files as $file) {
|
|
|
+ $this->addFile($file);
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
//docker-compose -f ./docker-compose-dev.yml run phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestAddData::testCancelOrder)( .*)?$/" --test-suffix TestAddData.php /var/www/html/test
|