From 09965bc514092037059c0cd3f33845042b16c6fb Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Fri, 29 Sep 2023 12:24:29 +0200 Subject: [PATCH] Update test projects to .NET7 and update VerifyTests 17.10.2 is that last version that doesn't use a forked newtonsoft.json Also fixes a XUnit warning --- TMDbLibTests/TMDbLibTests.csproj | 4 ++-- TMDbLibTests/UtilityTests/TaggedImageConverterTest.cs | 4 ++-- TestApplication/TestApplication.csproj | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/TMDbLibTests/TMDbLibTests.csproj b/TMDbLibTests/TMDbLibTests.csproj index f661369..f99cc8b 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 5051638..6a26b5e 100644 --- a/TMDbLibTests/UtilityTests/TaggedImageConverterTest.cs +++ b/TMDbLibTests/UtilityTests/TaggedImageConverterTest.cs @@ -81,8 +81,8 @@ namespace TMDbLibTests.UtilityTests 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 b71ef81..f0a6bbd 100644 --- a/TestApplication/TestApplication.csproj +++ b/TestApplication/TestApplication.csproj @@ -3,7 +3,7 @@ - net5.0 + net7.0 Exe