From a22c838e256c198cafb85d160047c65861ba58d4 Mon Sep 17 00:00:00 2001 From: Bert Date: Wed, 18 Dec 2024 14:48:29 +0100 Subject: [PATCH 1/3] update versions --- Directory.Packages.props | 2 +- README.md | 8 ++++---- eng/Versions.props | 2 +- global.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 84b4753..df73389 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,7 +3,7 @@ true - + diff --git a/README.md b/README.md index 9f3d6f7..84acfcb 100644 --- a/README.md +++ b/README.md @@ -11,14 +11,14 @@ Arcade-light is inspired from [dotnet/arcade](https://github.com/dotnet/arcade) ```json { "sdk": { - "version": "8.0.403", + "version": "8.0.404", "rollForward": "latestFeature" }, "tools": { - "dotnet": "8.0.403" + "dotnet": "8.0.404" }, "msbuild-sdks": { - "DotNetDev.ArcadeLight.Sdk": "1.7.5" + "DotNetDev.ArcadeLight.Sdk": "1.8.0" } } ``` @@ -56,7 +56,7 @@ Arcade-light is inspired from [dotnet/arcade](https://github.com/dotnet/arcade) - + ... <\Project> diff --git a/eng/Versions.props b/eng/Versions.props index 062f95b..2b4e1eb 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -2,6 +2,6 @@ - 2.9.2 + 1.0.0 diff --git a/global.json b/global.json index 90d4a79..153d678 100644 --- a/global.json +++ b/global.json @@ -7,6 +7,6 @@ "dotnet": "9.0.100-rc.1.24452.12" }, "msbuild-sdks": { - "DotNetDev.ArcadeLight.Sdk": "1.8.0-beta.1" + "DotNetDev.ArcadeLight.Sdk": "1.8.0" } } From 7fe00a139064fa5c2eb1ea11e311107a08a5e974 Mon Sep 17 00:00:00 2001 From: Bert Date: Wed, 18 Dec 2024 15:00:21 +0100 Subject: [PATCH 2/3] fix version number --- Directory.Packages.props | 4 ++-- .../UnitTests/DataAccessLayerTest.cs | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index df73389..061c2e3 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,7 +3,7 @@ true - + @@ -46,4 +46,4 @@ - \ No newline at end of file + diff --git a/src/RazorPages/RazorPagesTestSample.Tests/UnitTests/DataAccessLayerTest.cs b/src/RazorPages/RazorPagesTestSample.Tests/UnitTests/DataAccessLayerTest.cs index 72806a7..ac4db93 100644 --- a/src/RazorPages/RazorPagesTestSample.Tests/UnitTests/DataAccessLayerTest.cs +++ b/src/RazorPages/RazorPagesTestSample.Tests/UnitTests/DataAccessLayerTest.cs @@ -23,7 +23,7 @@ public async Task GetMessagesAsync_MessagesAreReturned() List result = await db.GetMessagesAsync(); // Assert - List actualMessages = Assert.IsAssignableFrom>(result); + List actualMessages = Assert.IsType>(result, exactMatch: false); Assert.Equal( expectedMessages.OrderBy(m => m.Id).Select(m => m.Text), actualMessages.OrderBy(m => m.Id).Select(m => m.Text)); @@ -41,7 +41,7 @@ public async Task AddMessageAsync_MessageIsAdded() await db.AddMessageAsync(expectedMessage); // Assert - Message actualMessage = await db.FindAsync(recId, TestContext.Current.CancellationToken); + Message actualMessage = await db.FindAsync(new object[] { recId, TestContext.Current.CancellationToken }, TestContext.Current.CancellationToken); Assert.Equal(expectedMessage, actualMessage); } @@ -101,7 +101,6 @@ public async Task DeleteMessageAsync_NoMessageIsDeleted_WhenMessageIsNotFound() int recId = 4; // Act -#pragma warning disable CA1031 // Do not catch general exception types try { await db.DeleteMessageAsync(recId); @@ -110,7 +109,6 @@ public async Task DeleteMessageAsync_NoMessageIsDeleted_WhenMessageIsNotFound() { // recId doesn't exist } -#pragma warning restore CA1031 // Do not catch general exception types // Assert List actualMessages = await db.Messages.AsNoTracking().ToListAsync(cancellationToken: TestContext.Current.CancellationToken); From 9eb838309ce1957bc4caec61159f2232842b401a Mon Sep 17 00:00:00 2001 From: Bert Date: Wed, 18 Dec 2024 15:35:19 +0100 Subject: [PATCH 3/3] disaple intern feed --- nuget.config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nuget.config b/nuget.config index 56ae5f4..67a0481 100644 --- a/nuget.config +++ b/nuget.config @@ -4,7 +4,7 @@ - + /> @@ -18,8 +18,8 @@ - +