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:
@@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user