@@ -101,14 +101,14 @@ public async Task Ok(CancellationToken ct)
101
101
102
102
var session1 = await controller . CreateSyncSession ( new CreateSyncSessionRequest
103
103
{
104
- Alpha = new CreateSyncSessionRequestEndpoint
104
+ Alpha = new CreateSyncSessionRequest . Endpoint
105
105
{
106
- Protocol = CreateSyncSessionRequestEndpointProtocol . Local ,
106
+ Protocol = CreateSyncSessionRequest . Endpoint . ProtocolKind . Local ,
107
107
Path = alphaDirectory . FullName ,
108
108
} ,
109
- Beta = new CreateSyncSessionRequestEndpoint
109
+ Beta = new CreateSyncSessionRequest . Endpoint
110
110
{
111
- Protocol = CreateSyncSessionRequestEndpointProtocol . Local ,
111
+ Protocol = CreateSyncSessionRequest . Endpoint . ProtocolKind . Local ,
112
112
Path = betaDirectory . FullName ,
113
113
} ,
114
114
} , ct ) ;
@@ -119,14 +119,14 @@ public async Task Ok(CancellationToken ct)
119
119
120
120
var session2 = await controller . CreateSyncSession ( new CreateSyncSessionRequest
121
121
{
122
- Alpha = new CreateSyncSessionRequestEndpoint
122
+ Alpha = new CreateSyncSessionRequest . Endpoint
123
123
{
124
- Protocol = CreateSyncSessionRequestEndpointProtocol . Local ,
124
+ Protocol = CreateSyncSessionRequest . Endpoint . ProtocolKind . Local ,
125
125
Path = alphaDirectory . FullName ,
126
126
} ,
127
- Beta = new CreateSyncSessionRequestEndpoint
127
+ Beta = new CreateSyncSessionRequest . Endpoint
128
128
{
129
- Protocol = CreateSyncSessionRequestEndpointProtocol . Local ,
129
+ Protocol = CreateSyncSessionRequest . Endpoint . ProtocolKind . Local ,
130
130
Path = betaDirectory . FullName ,
131
131
} ,
132
132
} , ct ) ;
@@ -199,14 +199,14 @@ public async Task CreateRestartsDaemon(CancellationToken ct)
199
199
await controller . Initialize ( ct ) ;
200
200
await controller . CreateSyncSession ( new CreateSyncSessionRequest
201
201
{
202
- Alpha = new CreateSyncSessionRequestEndpoint
202
+ Alpha = new CreateSyncSessionRequest . Endpoint
203
203
{
204
- Protocol = CreateSyncSessionRequestEndpointProtocol . Local ,
204
+ Protocol = CreateSyncSessionRequest . Endpoint . ProtocolKind . Local ,
205
205
Path = alphaDirectory . FullName ,
206
206
} ,
207
- Beta = new CreateSyncSessionRequestEndpoint
207
+ Beta = new CreateSyncSessionRequest . Endpoint
208
208
{
209
- Protocol = CreateSyncSessionRequestEndpointProtocol . Local ,
209
+ Protocol = CreateSyncSessionRequest . Endpoint . ProtocolKind . Local ,
210
210
Path = betaDirectory . FullName ,
211
211
} ,
212
212
} , ct ) ;
@@ -239,14 +239,14 @@ public async Task Orphaned(CancellationToken ct)
239
239
await controller1 . Initialize ( ct ) ;
240
240
await controller1 . CreateSyncSession ( new CreateSyncSessionRequest
241
241
{
242
- Alpha = new CreateSyncSessionRequestEndpoint
242
+ Alpha = new CreateSyncSessionRequest . Endpoint
243
243
{
244
- Protocol = CreateSyncSessionRequestEndpointProtocol . Local ,
244
+ Protocol = CreateSyncSessionRequest . Endpoint . ProtocolKind . Local ,
245
245
Path = alphaDirectory . FullName ,
246
246
} ,
247
- Beta = new CreateSyncSessionRequestEndpoint
247
+ Beta = new CreateSyncSessionRequest . Endpoint
248
248
{
249
- Protocol = CreateSyncSessionRequestEndpointProtocol . Local ,
249
+ Protocol = CreateSyncSessionRequest . Endpoint . ProtocolKind . Local ,
250
250
Path = betaDirectory . FullName ,
251
251
} ,
252
252
} , ct ) ;
0 commit comments