You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
810 B
27 lines
810 B
using System.Threading.Tasks;
|
|
using Volo.Abp.Modularity;
|
|
using Xunit;
|
|
|
|
namespace Win_in.Sfs.Scp.WebApi.Samples
|
|
{
|
|
/* Write your custom repository tests like that, in this project, as abstract classes.
|
|
* Then inherit these abstract classes from EF Core & MongoDB test projects.
|
|
* In this way, both database providers are tests with the same set tests.
|
|
*/
|
|
public abstract class SampleRepository_Tests<TStartupModule> : WebApiTestBase<TStartupModule>
|
|
where TStartupModule : IAbpModule
|
|
{
|
|
//private readonly ISampleRepository _sampleRepository;
|
|
|
|
protected SampleRepository_Tests()
|
|
{
|
|
//_sampleRepository = GetRequiredService<ISampleRepository>();
|
|
}
|
|
|
|
[Fact]
|
|
public async Task Method1Async()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|
|
|