Browse Source

fix(): another test fix

pull/23734/head
Nico Lachmuth 1 year ago
parent
commit
f639c800f0
  1. 2
      framework/test/Volo.Abp.TestApp/Volo/Abp/TestApp/Testing/EntityCache_Tests.cs

2
framework/test/Volo.Abp.TestApp/Volo/Abp/TestApp/Testing/EntityCache_Tests.cs

@ -38,7 +38,7 @@ public abstract class EntityCache_Tests<TStartupModule> : TestAppTestBase<TStart
{
var notExistId = Guid.NewGuid();
await Assert.ThrowsAsync<EntityNotFoundException<Product>>(() => ProductEntityCache.GetAsync(notExistId));
await Assert.ThrowsAsync<EntityNotFoundException>(() => ProductCacheItem.GetAsync(notExistId));
await Assert.ThrowsAsync<EntityNotFoundException<Product>>(() => ProductCacheItem.GetAsync(notExistId));
}
[Fact]

Loading…
Cancel
Save