diff --git a/modules/Common/test/EasyAbp.WeChatManagement.Common.MongoDB.Tests/MongoDB/Samples/SampleRepository_Tests.cs b/modules/Common/test/EasyAbp.WeChatManagement.Common.MongoDB.Tests/MongoDB/Samples/SampleRepository_Tests.cs deleted file mode 100644 index abd751c0..00000000 --- a/modules/Common/test/EasyAbp.WeChatManagement.Common.MongoDB.Tests/MongoDB/Samples/SampleRepository_Tests.cs +++ /dev/null @@ -1,14 +0,0 @@ -using EasyAbp.WeChatManagement.Common.Samples; -using Xunit; - -namespace EasyAbp.WeChatManagement.Common.MongoDB.Samples -{ - [Collection(MongoTestCollection.Name)] - public class SampleRepository_Tests : SampleRepository_Tests - { - /* Don't write custom repository tests here, instead write to - * the base class. - * One exception can be some specific tests related to MongoDB. - */ - } -} diff --git a/modules/Common/test/EasyAbp.WeChatManagement.Common.TestBase/Samples/SampleRepository_Tests.cs b/modules/Common/test/EasyAbp.WeChatManagement.Common.TestBase/Samples/SampleRepository_Tests.cs deleted file mode 100644 index 3eb59f99..00000000 --- a/modules/Common/test/EasyAbp.WeChatManagement.Common.TestBase/Samples/SampleRepository_Tests.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Threading.Tasks; -using Volo.Abp.Modularity; -using Xunit; - -namespace EasyAbp.WeChatManagement.Common.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 : CommonTestBase - where TStartupModule : IAbpModule - { - //private readonly ISampleRepository _sampleRepository; - - protected SampleRepository_Tests() - { - //_sampleRepository = GetRequiredService(); - } - - [Fact] - public async Task Method1Async() - { - - } - } -}