diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 2876c81a44d..90584d84e64 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -17,9 +17,9 @@ - + https://github.com/dotnet/arcade - 4246a31e5de9de87f760218c4f588cebf4661f45 + 20ab70a74d52b68f4271bd946884e24049b14f83 diff --git a/global.json b/global.json index 36a2b1bcfa6..2225c7fc09d 100644 --- a/global.json +++ b/global.json @@ -1,8 +1,8 @@ { "tools": { - "dotnet": "8.0.115" + "dotnet": "8.0.116" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.25230.1" + "Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.25263.4" } } diff --git a/test/Microsoft.TemplateEngine.Edge.UnitTests/NuGetApiPackageManagerTests.cs b/test/Microsoft.TemplateEngine.Edge.UnitTests/NuGetApiPackageManagerTests.cs index b2b80d56102..5c71d02937c 100644 --- a/test/Microsoft.TemplateEngine.Edge.UnitTests/NuGetApiPackageManagerTests.cs +++ b/test/Microsoft.TemplateEngine.Edge.UnitTests/NuGetApiPackageManagerTests.cs @@ -146,13 +146,13 @@ internal async Task DownloadPackage_HasVulnerabilities() var exception = await Assert.ThrowsAsync(() => packageManager.DownloadPackageAsync( installPath, - "log4net", - "2.0.3", + "System.Text.Json", + "8.0.4", // add the source for getting vulnerability info additionalSources: _additionalSources)); - exception.PackageIdentifier.Should().Be("log4net"); - exception.PackageVersion.Should().Be("2.0.3"); + exception.PackageIdentifier.Should().Be("System.Text.Json"); + exception.PackageVersion.Should().Be("8.0.4"); exception.Vulnerabilities.Should().NotBeNullOrEmpty(); } @@ -167,15 +167,15 @@ internal async Task DownloadPackage_HasVulnerabilitiesForce() var result = await packageManager.DownloadPackageAsync( installPath, - "log4net", - "2.0.3", + "System.Text.Json", + "8.0.4", // add the source for getting vulnerability info additionalSources: _additionalSources, force: true); - result.PackageIdentifier.Should().Be("log4net"); - result.Author.Should().Be("Apache Software Foundation"); - result.PackageVersion.Should().Be("2.0.3"); + result.PackageIdentifier.Should().Be("System.Text.Json"); + result.Author.Should().Be("Microsoft"); + result.PackageVersion.Should().Be("8.0.4"); Assert.True(File.Exists(result.FullPath)); result.PackageVulnerabilities.Should().NotBeNullOrEmpty(); result.NuGetSource.Should().Be(_additionalSources[0]);