maliming
8 months ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
2 changed files with
3 additions and
3 deletions
-
framework/test/Volo.Abp.Http.Client.Tests/Volo/Abp/Http/DynamicProxying/TestObjectToPath.cs
-
framework/test/Volo.Abp.TestApp/Volo/Abp/TestApp/TestAppModule.cs
|
|
|
@ -15,9 +15,8 @@ public class TestObjectToPath : IObjectToPath<int>, ITransientDependency |
|
|
|
{ |
|
|
|
value = 888; |
|
|
|
} |
|
|
|
return Task.FromResult(value.ToString()); |
|
|
|
} |
|
|
|
|
|
|
|
return Task.FromResult<string>(null); |
|
|
|
return Task.FromResult(value.ToString()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -27,7 +27,8 @@ public class TestAppModule : AbpModule |
|
|
|
{ |
|
|
|
ConfigureAutoMapper(); |
|
|
|
ConfigureDistributedEventBus(); |
|
|
|
|
|
|
|
|
|
|
|
context.Services.AddHttpContextAccessor(); |
|
|
|
context.Services.Replace(ServiceDescriptor.Singleton<IDistributedCache, TestMemoryDistributedCache>()); |
|
|
|
context.Services.AddEntityCache<Product, Guid>(); |
|
|
|
context.Services.AddEntityCache<Product, ProductCacheItem, Guid>(); |
|
|
|
|