Browse Source

Add Collection to the mongodb tests

pull/5062/head
Halil İbrahim Kalkan 6 years ago
parent
commit
82ecc9cf8d
  1. 2
      modules/cms-kit/test/Volo.CmsKit.MongoDB.Tests/MongoDB/Comments/CommentRepository_Tests.cs
  2. 2
      modules/cms-kit/test/Volo.CmsKit.MongoDB.Tests/MongoDB/Reactions/UserReactionRepository_Tests.cs

2
modules/cms-kit/test/Volo.CmsKit.MongoDB.Tests/MongoDB/Comments/CommentRepository_Tests.cs

@ -1,7 +1,9 @@
using Volo.CmsKit.Comments; using Volo.CmsKit.Comments;
using Xunit;
namespace Volo.CmsKit.MongoDB.Comments namespace Volo.CmsKit.MongoDB.Comments
{ {
[Collection(MongoTestCollection.Name)]
public class CommentRepository_Tests : CommentRepository_Tests<CmsKitMongoDbTestModule> public class CommentRepository_Tests : CommentRepository_Tests<CmsKitMongoDbTestModule>
{ {

2
modules/cms-kit/test/Volo.CmsKit.MongoDB.Tests/MongoDB/Reactions/UserReactionRepository_Tests.cs

@ -1,7 +1,9 @@
using Volo.CmsKit.Reactions; using Volo.CmsKit.Reactions;
using Xunit;
namespace Volo.CmsKit.MongoDB.Reactions namespace Volo.CmsKit.MongoDB.Reactions
{ {
[Collection(MongoTestCollection.Name)]
public class UserReactionRepository_Tests : UserReactionRepository_Tests<CmsKitMongoDbTestModule> public class UserReactionRepository_Tests : UserReactionRepository_Tests<CmsKitMongoDbTestModule>
{ {
} }

Loading…
Cancel
Save