@@ -33,8 +33,8 @@ public async Task AnswerCallAsync_200OK(string incomingCallContext, Uri callback
3333 Assert . NotNull ( response ) ;
3434 Assert . AreEqual ( ( int ) HttpStatusCode . OK , response . GetRawResponse ( ) . Status ) ;
3535 verifyCallConnectionProperties ( response . Value . CallConnectionProperties ) ;
36- // Assert.Null(response.Value.CallConnectionProperties.MediaSubscriptionId );
37- // Assert.Null(response.Value.CallConnectionProperties.DataSubscriptionId );
36+ Assert . Null ( response . Value . CallConnectionProperties . MediaStreamingSubscription ) ;
37+ Assert . Null ( response . Value . CallConnectionProperties . TranscriptionSubscription ) ;
3838 Assert . AreEqual ( CallConnectionId , response . Value . CallConnection . CallConnectionId ) ;
3939 }
4040
@@ -47,8 +47,8 @@ public void AnswerCall_200OK(string incomingCallContext, Uri callbackUri)
4747 Assert . NotNull ( response ) ;
4848 Assert . AreEqual ( ( int ) HttpStatusCode . OK , response . GetRawResponse ( ) . Status ) ;
4949 verifyCallConnectionProperties ( response . Value . CallConnectionProperties ) ;
50- // Assert.Null(response.Value.CallConnectionProperties.MediaSubscriptionId );
51- // Assert.Null(response.Value.CallConnectionProperties.DataSubscriptionId );
50+ Assert . Null ( response . Value . CallConnectionProperties . MediaStreamingSubscription ) ;
51+ Assert . Null ( response . Value . CallConnectionProperties . TranscriptionSubscription ) ;
5252 Assert . AreEqual ( CallConnectionId , response . Value . CallConnection . CallConnectionId ) ;
5353 }
5454
@@ -68,8 +68,8 @@ public async Task AnswerCallWithOptionsAsync_200OK(string incomingCallContext, U
6868 Assert . AreEqual ( ( int ) HttpStatusCode . OK , response . GetRawResponse ( ) . Status ) ;
6969 verifyCallConnectionProperties ( response . Value . CallConnectionProperties ) ;
7070 Assert . AreEqual ( CallConnectionId , response . Value . CallConnection . CallConnectionId ) ;
71- // Assert.AreEqual("mediaSubscriptionId", response.Value.CallConnectionProperties.MediaSubscriptionId );
72- // Assert.AreEqual("dataSubscriptionId", response.Value.CallConnectionProperties.DataSubscriptionId );
71+ Assert . NotNull ( response . Value . CallConnectionProperties . MediaStreamingSubscription ) ;
72+ Assert . NotNull ( response . Value . CallConnectionProperties . TranscriptionSubscription ) ;
7373 }
7474
7575 [ TestCaseSource ( nameof ( TestData_AnswerCall ) ) ]
@@ -87,8 +87,8 @@ public void AnswerCallWithOptions_200OK(string incomingCallContext, Uri callback
8787 Assert . AreEqual ( ( int ) HttpStatusCode . OK , response . GetRawResponse ( ) . Status ) ;
8888 verifyCallConnectionProperties ( response . Value . CallConnectionProperties ) ;
8989 Assert . AreEqual ( CallConnectionId , response . Value . CallConnection . CallConnectionId ) ;
90- // Assert.AreEqual("mediaSubscriptionId", response.Value.CallConnectionProperties.MediaSubscriptionId );
91- // Assert.AreEqual("dataSubscriptionId", response.Value.CallConnectionProperties.DataSubscriptionId );
90+ Assert . NotNull ( response . Value . CallConnectionProperties . MediaStreamingSubscription ) ;
91+ Assert . NotNull ( response . Value . CallConnectionProperties . TranscriptionSubscription ) ;
9292 }
9393
9494 [ TestCaseSource ( nameof ( TestData_AnswerCall ) ) ]
@@ -214,8 +214,8 @@ public async Task CreateCallAsync_201Created(CallInvite target, Uri callbackUri)
214214 Assert . NotNull ( result ) ;
215215 Assert . AreEqual ( ( int ) HttpStatusCode . Created , response . GetRawResponse ( ) . Status ) ;
216216 verifyCallConnectionProperties ( result . CallConnectionProperties ) ;
217- // Assert.Null(result. CallConnectionProperties.MediaSubscriptionId );
218- // Assert.Null(result. CallConnectionProperties.DataSubscriptionId );
217+ Assert . Null ( response . Value . CallConnectionProperties . MediaStreamingSubscription ) ;
218+ Assert . Null ( response . Value . CallConnectionProperties . TranscriptionSubscription ) ;
219219 Assert . AreEqual ( CallConnectionId , result . CallConnection . CallConnectionId ) ;
220220 }
221221
@@ -230,8 +230,8 @@ public void CreateCall_201Created(CallInvite target, Uri callbackUri)
230230 Assert . NotNull ( result ) ;
231231 Assert . AreEqual ( ( int ) HttpStatusCode . Created , response . GetRawResponse ( ) . Status ) ;
232232 verifyCallConnectionProperties ( result . CallConnectionProperties ) ;
233- // Assert.Null(result. CallConnectionProperties.MediaSubscriptionId );
234- // Assert.Null(result. CallConnectionProperties.DataSubscriptionId );
233+ Assert . Null ( response . Value . CallConnectionProperties . MediaStreamingSubscription ) ;
234+ Assert . Null ( response . Value . CallConnectionProperties . TranscriptionSubscription ) ;
235235 Assert . AreEqual ( CallConnectionId , result . CallConnection . CallConnectionId ) ;
236236 }
237237
@@ -253,8 +253,8 @@ public async Task CreateCallWithOptionsAsync_201Created(CallInvite target, Uri c
253253 Assert . AreEqual ( ( int ) HttpStatusCode . Created , response . GetRawResponse ( ) . Status ) ;
254254 verifyCallConnectionProperties ( result . CallConnectionProperties ) ;
255255 Assert . AreEqual ( CallConnectionId , result . CallConnection . CallConnectionId ) ;
256- // Assert.AreEqual("mediaSubscriptionId", result. CallConnectionProperties.MediaSubscriptionId );
257- // Assert.AreEqual("dataSubscriptionId", result. CallConnectionProperties.DataSubscriptionId );
256+ Assert . NotNull ( response . Value . CallConnectionProperties . MediaStreamingSubscription ) ;
257+ Assert . NotNull ( response . Value . CallConnectionProperties . TranscriptionSubscription ) ;
258258 }
259259
260260 [ TestCaseSource ( nameof ( TestData_CreateCall ) ) ]
@@ -275,8 +275,8 @@ public void CreateCallWithOptions_201Created(CallInvite target, Uri callbackUri)
275275 Assert . AreEqual ( ( int ) HttpStatusCode . Created , response . GetRawResponse ( ) . Status ) ;
276276 verifyCallConnectionProperties ( result . CallConnectionProperties ) ;
277277 Assert . AreEqual ( CallConnectionId , result . CallConnection . CallConnectionId ) ;
278- // Assert.AreEqual("mediaSubscriptionId", result. CallConnectionProperties.MediaSubscriptionId );
279- // Assert.AreEqual("dataSubscriptionId", result. CallConnectionProperties.DataSubscriptionId );
278+ Assert . NotNull ( response . Value . CallConnectionProperties . MediaStreamingSubscription ) ;
279+ Assert . NotNull ( response . Value . CallConnectionProperties . TranscriptionSubscription ) ;
280280 }
281281
282282 [ TestCaseSource ( nameof ( TestData_CreateCall ) ) ]
@@ -388,8 +388,8 @@ public async Task CreateGroupCallAsync_201Created(IEnumerable<CommunicationIdent
388388 Assert . AreEqual ( ( int ) HttpStatusCode . Created , response . GetRawResponse ( ) . Status ) ;
389389 verifyCallConnectionProperties ( result . CallConnectionProperties ) ;
390390 Assert . AreEqual ( CallConnectionId , result . CallConnection . CallConnectionId ) ;
391- // Assert.AreEqual("mediaSubscriptionId", result. CallConnectionProperties.MediaSubscriptionId );
392- // Assert.AreEqual("dataSubscriptionId", result. CallConnectionProperties.DataSubscriptionId );
391+ Assert . NotNull ( response . Value . CallConnectionProperties . MediaStreamingSubscription ) ;
392+ Assert . NotNull ( response . Value . CallConnectionProperties . TranscriptionSubscription ) ;
393393 }
394394
395395 private static void ValidateCreateCallResult ( CreateCallResult createCallResult )
0 commit comments