diff --git a/TMDbLibTests/TMDbLibTests.csproj b/TMDbLibTests/TMDbLibTests.csproj index f661369e..f99cc8b7 100644 --- a/TMDbLibTests/TMDbLibTests.csproj +++ b/TMDbLibTests/TMDbLibTests.csproj @@ -3,7 +3,7 @@ - net5.0 + net7.0 @@ -18,7 +18,7 @@ - + diff --git a/TMDbLibTests/UtilityTests/TaggedImageConverterTest.cs b/TMDbLibTests/UtilityTests/TaggedImageConverterTest.cs index 50516389..6a26b5e4 100644 --- a/TMDbLibTests/UtilityTests/TaggedImageConverterTest.cs +++ b/TMDbLibTests/UtilityTests/TaggedImageConverterTest.cs @@ -81,8 +81,8 @@ public async Task TestJsonTaggedImageConverter(int personId) else if (item.MediaType == MediaType.Season) Assert.IsType(item.Media); else - Assert.False(true, $"Unexpected type {item.GetType().Name}"); + Assert.Fail($"Unexpected type {item.GetType().Name}"); }); } } -} \ No newline at end of file +} diff --git a/TestApplication/TestApplication.csproj b/TestApplication/TestApplication.csproj index b71ef819..f0a6bbd9 100644 --- a/TestApplication/TestApplication.csproj +++ b/TestApplication/TestApplication.csproj @@ -3,7 +3,7 @@ - net5.0 + net7.0 Exe