Browse Source

add to local

stanley-king 8 years ago
parent
commit
5e531055a5
2 changed files with 5 additions and 2 deletions
  1. 0 1
      helper/bonus/parameters.php
  2. 5 1
      test/account_helperTest.php

+ 0 - 1
helper/bonus/parameters.php

@@ -13,7 +13,6 @@ use \member_info;
 class parameters
 {
     const admin_member_id = 36429;
-    const admin_mobile    = '13911129867';
     const admin_name      = '熊猫美妆';
 
     public static function invite($relay_id)

+ 5 - 1
test/account_helperTest.php

@@ -62,6 +62,10 @@ class account_helperTest extends PHPUnit_Framework_TestCase
     {
         account_helper::order_cancel('8000000000001603',36490);
     }
+    public function testOrderSuccess()
+    {
+        account_helper::onOrderSuccess(6325);
+    }
 
 
     public function testPayRefund()
@@ -76,7 +80,7 @@ class account_helperTest extends PHPUnit_Framework_TestCase
     }
 
 
-    public function testOrderSuccess()
+    public function testOrderSuccessSys()
     {
         $mod = Model('order');
         $pay_sn = '910510761110261481';