Fix coverage collection in tests

This commit is contained in:
Tyrrrz 2021-07-19 22:28:30 +03:00
parent 9c25bceabf
commit cad6baba48
5 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
@ -18,7 +18,7 @@
<PackageReference Include="GitHubActionsTestLogger" Version="1.2.0" />
<PackageReference Include="JsonExtensions" Version="1.1.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.10.0" />
<PackageReference Include="coverlet.msbuild" Version="3.0.3" PrivateAssets="all" />
<PackageReference Include="coverlet.msbuild" Version="3.1.0" PrivateAssets="all" />
<PackageReference Include="System.Reactive" Version="5.0.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3" PrivateAssets="all" />

View file

@ -26,7 +26,7 @@ namespace DiscordChatExporter.Cli.Tests
}
[Fact]
public async Task Message_with_YouTube_video_is_rendered_with_a_player_in_HTML()
public async Task Message_with_YouTube_video_is_rendered_using_an_iframe_player_in_HTML()
{
// Arrange
var outputFilePath = _tempOutput.GetTempFilePath("html");

View file

@ -3,7 +3,7 @@ using System.IO;
namespace DiscordChatExporter.Cli.Tests.Infra
{
public static class Secrets
internal static class Secrets
{
private static readonly Lazy<string> DiscordTokenLazy = new(() =>
{