stanley-king 4 vuotta sitten
vanhempi
commit
5da0822de2
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      test/TestMemberCard.php

+ 3 - 2
test/TestMemberCard.php

@@ -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']);
         }
     }