@@ -101,14 +101,14 @@ public async Task Ok(CancellationToken ct)
101101
102102 var session1 = await controller . CreateSyncSession ( new CreateSyncSessionRequest
103103 {
104- Alpha = new CreateSyncSessionRequestEndpoint
104+ Alpha = new CreateSyncSessionRequest . Endpoint
105105 {
106- Protocol = CreateSyncSessionRequestEndpointProtocol . Local ,
106+ Protocol = CreateSyncSessionRequest . Endpoint . ProtocolKind . Local ,
107107 Path = alphaDirectory . FullName ,
108108 } ,
109- Beta = new CreateSyncSessionRequestEndpoint
109+ Beta = new CreateSyncSessionRequest . Endpoint
110110 {
111- Protocol = CreateSyncSessionRequestEndpointProtocol . Local ,
111+ Protocol = CreateSyncSessionRequest . Endpoint . ProtocolKind . Local ,
112112 Path = betaDirectory . FullName ,
113113 } ,
114114 } , ct ) ;
@@ -119,14 +119,14 @@ public async Task Ok(CancellationToken ct)
119119
120120 var session2 = await controller . CreateSyncSession ( new CreateSyncSessionRequest
121121 {
122- Alpha = new CreateSyncSessionRequestEndpoint
122+ Alpha = new CreateSyncSessionRequest . Endpoint
123123 {
124- Protocol = CreateSyncSessionRequestEndpointProtocol . Local ,
124+ Protocol = CreateSyncSessionRequest . Endpoint . ProtocolKind . Local ,
125125 Path = alphaDirectory . FullName ,
126126 } ,
127- Beta = new CreateSyncSessionRequestEndpoint
127+ Beta = new CreateSyncSessionRequest . Endpoint
128128 {
129- Protocol = CreateSyncSessionRequestEndpointProtocol . Local ,
129+ Protocol = CreateSyncSessionRequest . Endpoint . ProtocolKind . Local ,
130130 Path = betaDirectory . FullName ,
131131 } ,
132132 } , ct ) ;
@@ -199,14 +199,14 @@ public async Task CreateRestartsDaemon(CancellationToken ct)
199199 await controller . Initialize ( ct ) ;
200200 await controller . CreateSyncSession ( new CreateSyncSessionRequest
201201 {
202- Alpha = new CreateSyncSessionRequestEndpoint
202+ Alpha = new CreateSyncSessionRequest . Endpoint
203203 {
204- Protocol = CreateSyncSessionRequestEndpointProtocol . Local ,
204+ Protocol = CreateSyncSessionRequest . Endpoint . ProtocolKind . Local ,
205205 Path = alphaDirectory . FullName ,
206206 } ,
207- Beta = new CreateSyncSessionRequestEndpoint
207+ Beta = new CreateSyncSessionRequest . Endpoint
208208 {
209- Protocol = CreateSyncSessionRequestEndpointProtocol . Local ,
209+ Protocol = CreateSyncSessionRequest . Endpoint . ProtocolKind . Local ,
210210 Path = betaDirectory . FullName ,
211211 } ,
212212 } , ct ) ;
@@ -239,14 +239,14 @@ public async Task Orphaned(CancellationToken ct)
239239 await controller1 . Initialize ( ct ) ;
240240 await controller1 . CreateSyncSession ( new CreateSyncSessionRequest
241241 {
242- Alpha = new CreateSyncSessionRequestEndpoint
242+ Alpha = new CreateSyncSessionRequest . Endpoint
243243 {
244- Protocol = CreateSyncSessionRequestEndpointProtocol . Local ,
244+ Protocol = CreateSyncSessionRequest . Endpoint . ProtocolKind . Local ,
245245 Path = alphaDirectory . FullName ,
246246 } ,
247- Beta = new CreateSyncSessionRequestEndpoint
247+ Beta = new CreateSyncSessionRequest . Endpoint
248248 {
249- Protocol = CreateSyncSessionRequestEndpointProtocol . Local ,
249+ Protocol = CreateSyncSessionRequest . Endpoint . ProtocolKind . Local ,
250250 Path = betaDirectory . FullName ,
251251 } ,
252252 } , ct ) ;
0 commit comments