Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marcogagliardi committed Nov 10, 2023
1 parent 6e7bb4d commit e8c75d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ public async Task Should_return_ok()
};

_videoApiClientMock.Setup(x => x.GetAudioRecordingLinkAsync(It.IsAny<string>())).ReturnsAsync(audioResponse);

_featureTogglesMock.Setup(x => x.HrsEnabled()).Returns(false);

var result = await _controller.GetAudioRecordingLinkAsync(It.IsAny<Guid>());

var actionResult = result as OkObjectResult;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ private static List<CvpForAudioFileResponse> GetCvpForAudioFileResponses(IEnumer
return response;
}

private string GetAudioHrsFileName(string serviceId, string caseNumber, string hearingId)
private static string GetAudioHrsFileName(string serviceId, string caseNumber, string hearingId)
{
const string regex = "[^a-zA-Z0-9]";
const RegexOptions regexOptions = RegexOptions.None;
Expand Down

0 comments on commit e8c75d1

Please sign in to comment.