         LCRouter.sharedInstance().cleanCache(forKey: "LCRTMRouterCacheKey")
         
         AVOSCloud.setApplicationId(appInfo.id, clientKey: appInfo.key)
-        
         AVOSCloud.setAllLogsEnabled(true)
+        for item in Array<AVServiceModule>(arrayLiteral: .API, .engine, .push, .statistics) {
+            AVOSCloud.setServerURLString("beta.leancloud.cn", for: item)
+        }
     }
     
     override class func tearDown() {
-        
         super.tearDown()
     }
     

class LCTestBase: XCTestCase {
    
    override class func setUp() {
        
        super.setUp()
        
        let region: TestRegion = .CN_North
        
        let appInfo: (id: String, key: String) = region.appInfo
        
        if region == .US {
            
            AVOSCloud.setServiceRegion(.US)
            
        } else {
            
            AVOSCloud.setServiceRegion(.CN)
        }
        

            return (id: "uwWkfssEBRtrxVpQWEnFtqfr-9Nh9j0Va",
                    key: "9OaLpoW21lIQtRYzJya4WHUR")
        case .US:
            return (id: "eX7urCufwLd6X5mHxt7V12nL-MdYXbMMI",
                    key: "PrmzHPnRXjXezS54KryuHMG6")
        }
    }
}
