File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1138,6 +1138,9 @@ class IMMessageTestCase: RTMBaseTestCase {
11381138 }
11391139
11401140 func testMessagePatchError( ) {
1141+ guard LCApplication . default. id != BaseTestCase . usApp. id else {
1142+ return
1143+ }
11411144 guard
11421145 let tuples = convenienceInit ( clientCount: 3 ) ,
11431146 let sendingTuple = tuples. first,
Original file line number Diff line number Diff line change @@ -297,6 +297,9 @@ class RTMConnectionTestCase: RTMBaseTestCase {
297297 }
298298
299299 func testGoaway( ) {
300+ guard LCApplication . default. configuration. RTMCustomServerURL == nil else {
301+ return
302+ }
300303 let tuple = connectedConnection ( )
301304 let connection = tuple. 0
302305 let delegator = tuple. 1
Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ public class LCSMSClient {
6060 public static func requestShortMessage(
6161 application: LCApplication = . default,
6262 mobilePhoneNumber: String ,
63- templateName: String = " Register_Notice " ,
64- signatureName: String = " LeanCloud " ,
63+ templateName: String ? = nil ,
64+ signatureName: String ? = nil ,
6565 captchaVerificationToken: String ? = nil ,
6666 variables: LCDictionaryConvertible ? = nil ,
6767 completionQueue: DispatchQueue = . main,
You can’t perform that action at this time.
0 commit comments