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:
@@ -1,5 +1,4 @@
|
||||
using IntegrationTests.Infrastructure;
|
||||
using MongoDB.Bson.Serialization.Attributes;
|
||||
using MongoDbGenericRepository.Attributes;
|
||||
using MongoDbGenericRepository.Models;
|
||||
using System;
|
||||
@@ -17,11 +16,11 @@ namespace IntegrationTests
|
||||
public string PartitionKey { get; set; }
|
||||
}
|
||||
|
||||
public class CRUDTKeyPartitionedCollectionNameAttributeTests : MongoDBTestBase<TKeyPartitionedCollectionNameDoc, Guid>
|
||||
public class CRUDTKeyPartitionedCollectionNameAttributeTests : MongoDbTKeyDocumentTestBase<TKeyPartitionedCollectionNameDoc, Guid>
|
||||
{
|
||||
public override string GetClassName()
|
||||
{
|
||||
return "TKeyPartitionedCollectionNameAttributeTests";
|
||||
return "CRUDTKeyPartitionedCollectionNameAttributeTests";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user