@@ -26,7 +26,7 @@ public class TranscriptionsIntegrationTests : IDisposable
2626 private CreateCall mantecaCallBody ;
2727 private string accountId ;
2828 private string testCallId ;
29- private string testRecordingId ;
29+ private string testTranscriptionId ;
3030 private string BW_USERNAME ;
3131 private string BW_PASSWORD ;
3232 private string MANTECA_ACTIVE_NUMBER ;
@@ -39,8 +39,6 @@ public class TranscriptionsIntegrationTests : IDisposable
3939 public TranscriptionsIntegrationTests ( )
4040 {
4141 accountId = Environment . GetEnvironmentVariable ( "BW_ACCOUNT_ID" ) ;
42- testCallId = "callId" ;
43- testRecordingId = "recordingId" ;
4442 BW_USERNAME = Environment . GetEnvironmentVariable ( "BW_USERNAME" ) ;
4543 BW_PASSWORD = Environment . GetEnvironmentVariable ( "BW_PASSWORD" ) ;
4644 MANTECA_ACTIVE_NUMBER = Environment . GetEnvironmentVariable ( "MANTECA_ACTIVE_NUMBER" ) ;
@@ -149,16 +147,20 @@ private void CreateCallTranscription()
149147
150148 private void ListRealTimeTranscriptions ( )
151149 {
150+ List < CallTranscriptionMetadata > callTranscriptions = transcriptionsApiInstance . ListRealTimeTranscriptions ( accountId , testCallId ) ;
151+ Assert . NotEmpty ( callTranscriptions ) ;
152152
153+ testTranscriptionId = callTranscriptions [ 0 ] . TranscriptionId ;
153154 }
154155 private void GetRealTimeTranscription ( )
155156 {
156-
157+ CallTranscriptionResponse response = transcriptionsApiInstance . GetRealTimeTranscription ( accountId , testCallId , testTranscriptionId ) ;
158+ Assert . Equal ( testCallId , response . CallId ) ;
157159 }
158160
159161 private void DeleteRealTimeTranscription ( )
160162 {
161-
163+ transcriptionsApiInstance . DeleteRealTimeTranscription ( accountId , testCallId , testTranscriptionId ) ;
162164 }
163165
164166 // Need these to run in a specific order
0 commit comments