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 {
250250 func testAuthorizationUsingSomethingConformingToTheAuthorizerProtocol( ) {
251251
252252 class SomeAuthorizer : Authorizer {
253- func fetchAuthValue( socketID: String , channelName: String , completionHandler: ( PusherAuth ? ) -> ( ) ) {
253+ func fetchAuthValue( socketID: String , channelName: String , completionHandler: @escaping ( PusherAuth ? ) -> ( ) ) {
254254 completionHandler ( PusherAuth ( auth: " testKey123:authorizerblah123 " ) )
255255 }
256256 }
@@ -280,7 +280,7 @@ class AuthenticationTests: XCTestCase {
280280 func testAuthorizationOfPresenceChannelSubscriptionUsingSomethingConformingToTheAuthorizerProtocol( ) {
281281
282282 class SomeAuthorizer : Authorizer {
283- func fetchAuthValue( socketID: String , channelName: String , completionHandler: ( PusherAuth ? ) -> ( ) ) {
283+ func fetchAuthValue( socketID: String , channelName: String , completionHandler: @escaping ( PusherAuth ? ) -> ( ) ) {
284284 completionHandler ( PusherAuth (
285285 auth: " testKey123:authorizerblah1234 " ,
286286 channelData: " { \" user_id \" : \" 777 \" , \" user_info \" :{ \" twitter \" : \" hamchapman \" }} "
You can’t perform that action at this time.
0 commit comments