File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ class AuthenticationTests: XCTestCase {
250
250
func testAuthorizationUsingSomethingConformingToTheAuthorizerProtocol( ) {
251
251
252
252
class SomeAuthorizer : Authorizer {
253
- func fetchAuthValue( socketID: String , channelName: String , completionHandler: ( PusherAuth ? ) -> ( ) ) {
253
+ func fetchAuthValue( socketID: String , channelName: String , completionHandler: @escaping ( PusherAuth ? ) -> ( ) ) {
254
254
completionHandler ( PusherAuth ( auth: " testKey123:authorizerblah123 " ) )
255
255
}
256
256
}
@@ -280,7 +280,7 @@ class AuthenticationTests: XCTestCase {
280
280
func testAuthorizationOfPresenceChannelSubscriptionUsingSomethingConformingToTheAuthorizerProtocol( ) {
281
281
282
282
class SomeAuthorizer : Authorizer {
283
- func fetchAuthValue( socketID: String , channelName: String , completionHandler: ( PusherAuth ? ) -> ( ) ) {
283
+ func fetchAuthValue( socketID: String , channelName: String , completionHandler: @escaping ( PusherAuth ? ) -> ( ) ) {
284
284
completionHandler ( PusherAuth (
285
285
auth: " testKey123:authorizerblah1234 " ,
286
286
channelData: " { \" user_id \" : \" 777 \" , \" user_info \" :{ \" twitter \" : \" hamchapman \" }} "
You can’t perform that action at this time.
0 commit comments