Skip to content

Commit 35b6913

Browse files
author
Daniel Browne
committed
Correct property name in 'TestAuthorizer'
1 parent 586763d commit 35b6913

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/Unit/Models/PrivateEncryptedChannelTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -346,12 +346,12 @@ class PrivateEncryptedChannelTests: XCTestCase {
346346
}
347347

348348
class TestAuthorizer: Authorizer {
349-
var authReponseSequence: [PusherAuth]
350-
public init(_ authReponseSequence: [PusherAuth]) {
351-
self.authReponseSequence = authReponseSequence
349+
var authResponseSequence: [PusherAuth]
350+
public init(_ authResponseSequence: [PusherAuth]) {
351+
self.authResponseSequence = authResponseSequence
352352
}
353353
func fetchAuthValue(socketID: String, channelName: String, completionHandler: @escaping (PusherAuth?) -> Void) {
354-
completionHandler(authReponseSequence.removeFirst())
354+
completionHandler(authResponseSequence.removeFirst())
355355
}
356356
}
357357

0 commit comments

Comments
 (0)