Skip to content

Commit ec9841d

Browse files
committed
test: update
1 parent 64917ec commit ec9841d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

AVOS/LeanCloudObjcTests/BaseTestCase.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class BaseTestCase: XCTestCase {
3232
id: "S5vDI3IeCk1NLLiM1aFg3262-gzGzoHsz",
3333
key: "7g5pPsI55piz2PRLPWK5MPz0",
3434
serverURL: "https://s5vdi3ie.lc-cn-n1-shared.com",
35+
// serverURL: "https://beta.leancloud.cn",
3536
masterKey: "Q26gTodbyi1Ki7lM9vtncF6U,master")
3637

3738
static let ceApp = AppInfo(
@@ -67,6 +68,11 @@ class BaseTestCase: XCTestCase {
6768
LCFile.clearAllPersistentCache()
6869
super.tearDown()
6970
}
71+
72+
override func tearDown() {
73+
LCUser.logOut()
74+
super.tearDown()
75+
}
7076
}
7177

7278
extension BaseTestCase {

0 commit comments

Comments
 (0)