|
@@ -209,9 +209,9 @@ class TestMemberCard extends TestCase
|
|
|
$params = mcard\getConfig('year',$val['amount']);
|
|
|
$ret = $usercards->addCard($params);
|
|
|
if($ret) {
|
|
|
- Log::record("{$val['mid']} : {$val['amount']} success.");
|
|
|
+ Log::record("{$val['mid']} : {$val['amount']} success.",Log::DEBUG);
|
|
|
} else {
|
|
|
- Log::record("{$val['mid']} : {$val['amount']} fail.");
|
|
|
+ Log::record("{$val['mid']} : {$val['amount']} fail.",Log::ERR);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -366,4 +366,6 @@ class TestMemberCard extends TestCase
|
|
|
public function testStrict()
|
|
|
{
|
|
|
}
|
|
|
-}
|
|
|
+}
|
|
|
+
|
|
|
+//docker-compose run phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestMemberCard::testAddMemberYearCard)( .*)?$/" --test-suffix TestMemberCard.php /var/www/html/test
|