The MongoDbRepository now has a constructor that takes an IMongoDatabase.

This commit is contained in:
alexandre-spieser
2017-11-01 08:18:29 +00:00
parent fbb07475a1
commit 657beeac99
18 changed files with 52 additions and 29 deletions
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System;
namespace IntegrationTests.Infrastructure
namespace CoreIntegrationTests.Infrastructure
{
public class BaseMongoDbRepositoryTests<T> : IDisposable where T : new()
@@ -1,6 +1,6 @@
using MongoDbGenericRepository;
namespace IntegrationTests
namespace CoreIntegrationTests
{
public interface ITestRepository : IBaseMongoRepository
{
@@ -1,9 +1,9 @@
using CoreIntegrationTests;
using CoreCoreIntegrationTests;
using MongoDB.Bson.Serialization;
using MongoDB.Bson.Serialization.Conventions;
using System.Threading;
namespace IntegrationTests.Infrastructure
namespace CoreIntegrationTests.Infrastructure
{
internal static class MongoDbConfig
{
@@ -1,6 +1,6 @@
using MongoDbGenericRepository;
namespace IntegrationTests.Infrastructure
namespace CoreIntegrationTests.Infrastructure
{
/// <summary>
/// A singleton implementation of the TestRepository