|
@@ -182,10 +182,11 @@ class TestMemberCard extends TestCase
|
|
|
|
|
|
public function testAddMemberCard()
|
|
|
{
|
|
|
- $mids = [60639,62704,52836];
|
|
|
+// $mids = [60639,62704,52836];
|
|
|
+ $mids = [60639];
|
|
|
foreach ($mids as $mid) {
|
|
|
$usercards = new mcard\user_mcards($mid);
|
|
|
- $usercards->addCard(['card_type' => mcard\BothType, 'total_amount' => 10000, 'discount' => 0.05, 'package_type' => 'year']);
|
|
|
+ $usercards->addCard(['card_type' => mcard\BothType, 'total_amount' => 100000, 'discount' => 0.05, 'package_type' => 'year']);
|
|
|
}
|
|
|
}
|
|
|
|