From 8722934bfed086c50fa82f6d66495afafb23b053 Mon Sep 17 00:00:00 2001 From: Yuriy Durov Date: Mon, 16 Dec 2024 14:27:13 +0400 Subject: [PATCH] Update packages --- ...zArt.Pagination.EntityFrameworkCore.csproj | 8 ++++---- ...agination.EntityFrameworkCore.Tests.csproj | 13 ++++++------ .../BitzArt.Pagination.Tests.csproj | 10 +++++----- .../PageResultTests.cs | 20 ------------------- 4 files changed, 16 insertions(+), 35 deletions(-) delete mode 100644 tests/BitzArt.Pagination.Tests/PageResultTests.cs diff --git a/src/BitzArt.Pagination.EntityFrameworkCore/BitzArt.Pagination.EntityFrameworkCore.csproj b/src/BitzArt.Pagination.EntityFrameworkCore/BitzArt.Pagination.EntityFrameworkCore.csproj index 61760b9..83652e0 100644 --- a/src/BitzArt.Pagination.EntityFrameworkCore/BitzArt.Pagination.EntityFrameworkCore.csproj +++ b/src/BitzArt.Pagination.EntityFrameworkCore/BitzArt.Pagination.EntityFrameworkCore.csproj @@ -17,16 +17,16 @@ - + - + - + - + diff --git a/tests/BitzArt.Pagination.EntityFrameworkCore.Tests/BitzArt.Pagination.EntityFrameworkCore.Tests.csproj b/tests/BitzArt.Pagination.EntityFrameworkCore.Tests/BitzArt.Pagination.EntityFrameworkCore.Tests.csproj index ff0f5e9..68d5238 100644 --- a/tests/BitzArt.Pagination.EntityFrameworkCore.Tests/BitzArt.Pagination.EntityFrameworkCore.Tests.csproj +++ b/tests/BitzArt.Pagination.EntityFrameworkCore.Tests/BitzArt.Pagination.EntityFrameworkCore.Tests.csproj @@ -1,7 +1,7 @@  - net7.0 + net9.0 false @@ -9,14 +9,15 @@ - - - - + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/BitzArt.Pagination.Tests/BitzArt.Pagination.Tests.csproj b/tests/BitzArt.Pagination.Tests/BitzArt.Pagination.Tests.csproj index a0f9866..0f5ebda 100644 --- a/tests/BitzArt.Pagination.Tests/BitzArt.Pagination.Tests.csproj +++ b/tests/BitzArt.Pagination.Tests/BitzArt.Pagination.Tests.csproj @@ -1,7 +1,7 @@  - net7.0 + net9.0 false @@ -11,13 +11,13 @@ - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/BitzArt.Pagination.Tests/PageResultTests.cs b/tests/BitzArt.Pagination.Tests/PageResultTests.cs deleted file mode 100644 index 03b1ac3..0000000 --- a/tests/BitzArt.Pagination.Tests/PageResultTests.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System.Collections.Generic; -using System.Linq; -using Xunit; - -namespace BitzArt.Pagination -{ - public class PageResultTests - { - [Fact] - public void PageResult_ToBaseClass_RetainsData() - { - var list = new List { "a", "b", "c" }; - - var pageResultGeneric = new PageResult { Data = list }; - var pageResultBase = pageResultGeneric as PageResult; - - Assert.Equal(pageResultBase.Data.Count(), list.Count); - } - } -}