|
@@ -6,6 +6,7 @@ define('BASE_ROOT_PATH', str_replace('/test', '', dirname(__FILE__)));
|
|
require_once(BASE_ROOT_PATH . '/global.php');
|
|
require_once(BASE_ROOT_PATH . '/global.php');
|
|
require_once(BASE_CORE_PATH . '/lrlz.php');
|
|
require_once(BASE_CORE_PATH . '/lrlz.php');
|
|
require_once(BASE_ROOT_PATH . '/fooder.php');
|
|
require_once(BASE_ROOT_PATH . '/fooder.php');
|
|
|
|
+
|
|
require_once(BASE_HELPER_PATH . '/mcard/mcard.php');
|
|
require_once(BASE_HELPER_PATH . '/mcard/mcard.php');
|
|
require_once(BASE_HELPER_PATH . '/mtopcard/mtopcard.php');
|
|
require_once(BASE_HELPER_PATH . '/mtopcard/mtopcard.php');
|
|
require_once(BASE_HELPER_PATH . '/util_helper.php');
|
|
require_once(BASE_HELPER_PATH . '/util_helper.php');
|
|
@@ -379,8 +380,18 @@ class TestAddData extends TestCase
|
|
$this->addFile($file);
|
|
$this->addFile($file);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ public function test20200910_addCard()
|
|
|
|
+ {
|
|
|
|
+ $files = ['100元话费669系列394-443.xlsx','100元话费699系列544-593.xlsx','200元话费808系列693-743.xlsx',
|
|
|
|
+ '200元话费808系列744-843zn.xlsx','200元话费808系列844-893.xlsx','话费100元669号段694-793.xlsx',
|
|
|
|
+ '话费200元808系列544-643.xlsx','话费100元668号段094-193zn.xlsx','话费100元 668号段444-493zn.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
|
|
//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
|
|
//docker-compose -f ./docker-compose-dev.yml run phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestAddData::test20200821_addCard)( .*)?$/" --test-suffix TestAddData.php /var/www/html/test
|
|
//docker-compose -f ./docker-compose-dev.yml run phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestAddData::test20200821_addCard)( .*)?$/" --test-suffix TestAddData.php /var/www/html/test
|
|
-//docker-compose run phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestAddData::test20200909_addCard)( .*)?$/" --test-suffix TestAddData.php /var/www/html/test
|
|
|
|
|
|
+//docker-compose run phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestAddData::test20200909_1_addCard)( .*)?$/" --test-suffix TestAddData.php /var/www/html/test
|