mirror of https://github.com/abpframework/abp.git
9 changed files with 48 additions and 24 deletions
@ -0,0 +1,17 @@ |
|||||
|
using System.Threading.Tasks; |
||||
|
using Shouldly; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Xunit; |
||||
|
|
||||
|
namespace Volo.Abp.AspNetCore.Mvc.ApiExploring |
||||
|
{ |
||||
|
public class AbpApiDefinitionController_Tests : AspNetCoreMvcTestBase |
||||
|
{ |
||||
|
[Fact] |
||||
|
public async Task GetAsync() |
||||
|
{ |
||||
|
var model = await GetResponseAsObjectAsync<ApplicationApiDescriptionModel>("/api/abp/api-definition"); |
||||
|
model.ShouldNotBeNull(); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,9 @@ |
|||||
|
using Volo.Abp.AspNetCore; |
||||
|
|
||||
|
namespace Volo.Abp.Http |
||||
|
{ |
||||
|
public abstract class AbpHttpClientTestBase : AbpAspNetCoreTestBase<Startup> |
||||
|
{ |
||||
|
|
||||
|
} |
||||
|
} |
||||
@ -1,9 +0,0 @@ |
|||||
using Volo.Abp.AspNetCore; |
|
||||
|
|
||||
namespace Volo.Abp.Http |
|
||||
{ |
|
||||
public abstract class AbpHttpTestBase : AbpAspNetCoreTestBase<Startup> |
|
||||
{ |
|
||||
|
|
||||
} |
|
||||
} |
|
||||
Loading…
Reference in new issue