@@ -45,7 +45,7 @@ final class RemoteChangeObserverTests: XCTestCase {
4545
4646 func testAuthentication( ) async throws {
4747 let remoteInterface = MockRemoteInterface ( )
48- remoteInterface. capabilities = mockCapabilities
48+ remoteInterface. capabilitiesString = mockCapabilities
4949
5050 var authenticated = false
5151
@@ -85,7 +85,7 @@ final class RemoteChangeObserverTests: XCTestCase {
8585 let incorrectAccount =
8686 Account ( user: username, id: userId, serverUrl: serverUrl, password: " wrong! " )
8787 let remoteInterface = MockRemoteInterface ( )
88- remoteInterface. capabilities = mockCapabilities
88+ remoteInterface. capabilitiesString = mockCapabilities
8989 remoteChangeObserver = RemoteChangeObserver (
9090 account: incorrectAccount,
9191 remoteInterface: remoteInterface,
@@ -117,7 +117,7 @@ final class RemoteChangeObserverTests: XCTestCase {
117117 let incorrectAccount =
118118 Account ( user: username, id: userId, serverUrl: serverUrl, password: " wrong! " )
119119 let remoteInterface = MockRemoteInterface ( )
120- remoteInterface. capabilities = mockCapabilities
120+ remoteInterface. capabilitiesString = mockCapabilities
121121 let remoteChangeObserver = RemoteChangeObserver (
122122 account: incorrectAccount,
123123 remoteInterface: remoteInterface,
@@ -142,7 +142,7 @@ final class RemoteChangeObserverTests: XCTestCase {
142142
143143 func testChangeRecognised( ) async throws {
144144 let remoteInterface = MockRemoteInterface ( )
145- remoteInterface. capabilities = mockCapabilities
145+ remoteInterface. capabilitiesString = mockCapabilities
146146
147147 var authenticated = false
148148 var notified = false
@@ -182,7 +182,7 @@ final class RemoteChangeObserverTests: XCTestCase {
182182
183183 func testIgnoreNonFileNotifications( ) async throws {
184184 let remoteInterface = MockRemoteInterface ( )
185- remoteInterface. capabilities = mockCapabilities
185+ remoteInterface. capabilitiesString = mockCapabilities
186186
187187 var authenticated = false
188188 var notified = false
@@ -225,7 +225,7 @@ final class RemoteChangeObserverTests: XCTestCase {
225225 func testPolling( ) async throws {
226226 var notified = false
227227 let remoteInterface = MockRemoteInterface ( )
228- remoteInterface. capabilities = " "
228+ remoteInterface. capabilitiesString = " "
229229 let notificationInterface = MockChangeNotificationInterface ( )
230230 notificationInterface. changeHandler = { notified = true }
231231 remoteChangeObserver = RemoteChangeObserver (
@@ -264,7 +264,7 @@ final class RemoteChangeObserverTests: XCTestCase {
264264
265265 func testRetryOnRemoteClose( ) async throws {
266266 let remoteInterface = MockRemoteInterface ( )
267- remoteInterface. capabilities = mockCapabilities
267+ remoteInterface. capabilitiesString = mockCapabilities
268268
269269 var authenticated = false
270270
@@ -304,7 +304,7 @@ final class RemoteChangeObserverTests: XCTestCase {
304304
305305 func testPinging( ) async throws {
306306 let remoteInterface = MockRemoteInterface ( )
307- remoteInterface. capabilities = mockCapabilities
307+ remoteInterface. capabilitiesString = mockCapabilities
308308
309309 var authenticated = false
310310
@@ -347,7 +347,7 @@ final class RemoteChangeObserverTests: XCTestCase {
347347
348348 func testRetryOnConnectionLoss( ) async throws {
349349 let remoteInterface = MockRemoteInterface ( )
350- remoteInterface. capabilities = mockCapabilities
350+ remoteInterface. capabilitiesString = mockCapabilities
351351
352352 var authenticated = false
353353 var notified = false
0 commit comments