From e7108c8d158de171002684c222a4711045d4d771 Mon Sep 17 00:00:00 2001 From: Nico Lachmuth Date: Mon, 15 Sep 2025 20:16:35 +0200 Subject: [PATCH] chore(): fix tests --- .../Volo/Abp/TestApp/Testing/RepositoryExtensions_Tests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/test/Volo.Abp.TestApp/Volo/Abp/TestApp/Testing/RepositoryExtensions_Tests.cs b/framework/test/Volo.Abp.TestApp/Volo/Abp/TestApp/Testing/RepositoryExtensions_Tests.cs index 747c53e333..53ef423378 100644 --- a/framework/test/Volo.Abp.TestApp/Volo/Abp/TestApp/Testing/RepositoryExtensions_Tests.cs +++ b/framework/test/Volo.Abp.TestApp/Volo/Abp/TestApp/Testing/RepositoryExtensions_Tests.cs @@ -24,10 +24,10 @@ public abstract class RepositoryExtensions_Tests : TestAppTestBa await WithUnitOfWorkAsync(async () => { var id = Guid.NewGuid(); - await Assert.ThrowsAsync(async () => + await Assert.ThrowsAsync>(async () => await PersonRepository.EnsureExistsAsync(Guid.NewGuid()) ); - await Assert.ThrowsAsync(async () => + await Assert.ThrowsAsync>(async () => await PersonRepository.EnsureExistsAsync(x => x.Id == id) );