stanley-king 4 years ago
parent
commit
656711f4ca
2 changed files with 5 additions and 1 deletions
  1. 4 0
      helper/fcgisrv/RAccServer.php
  2. 1 1
      test/TestAccRefill.php

+ 4 - 0
helper/fcgisrv/RAccServer.php

@@ -24,6 +24,10 @@ class RAccServer extends BaseServer
     public function __construct($subPath)
     public function __construct($subPath)
     {
     {
         parent::__construct($subPath);
         parent::__construct($subPath);
+
+        $exfiles = [];
+
+        $this->setExFiles($exfiles);
     }
     }
 
 
     static private $stInstance = NULL;
     static private $stInstance = NULL;

+ 1 - 1
test/TestAccRefill.php

@@ -18,7 +18,7 @@ require_once(BASE_HELPER_PATH . '/mtopcard/mtopcard.php');
 const LocalTest = 1;
 const LocalTest = 1;
 const NetTest = 2;
 const NetTest = 2;
 
 
-const CurrentTest = LocalTest;
+const CurrentTest = NetTest;
 
 
 class TestAccRefill extends TestCase
 class TestAccRefill extends TestCase
 {
 {