Continues refactoring tests, added overload for UpdateOne and UpdateOneAsync so that we can pass a LINQ query to the method.

This commit is contained in:
alexandre-spieser
2018-02-10 16:38:47 +00:00
parent bf2119432e
commit 5270271008
16 changed files with 1193 additions and 424 deletions
+23
View File
@@ -0,0 +1,23 @@
using IntegrationTests.Infrastructure;
using MongoDbGenericRepository.Models;
namespace IntegrationTests
{
public class PartitionedDoc : TestDoc, IPartitionedDocument
{
public PartitionedDoc()
{
PartitionKey = "TestPartitionKey";
}
public string PartitionKey { get; set; }
}
public class CRUDPartitionedTests : MongoDbDocumentTestBase<PartitionedDoc>
{
public override string GetClassName()
{
return "CRUDPartitionedCollectionNameAttributeTests";
}
}
}