Added projection tests on partitioned collections

This commit is contained in:
alexandre-spieser
2017-08-27 22:14:41 +00:00
parent 1c40c08924
commit 2f3ffdff81
3 changed files with 147 additions and 5 deletions
+6 -5
View File
@@ -10,7 +10,12 @@ namespace IntegrationTests
public class Nested
{
public DateTime SomeDate { get; set; }
}
public class MyProjection
{
public DateTime SomeDate { get; set; }
public string SomeContent { get; set; }
}
public class ProjectTestsDocument : Document
@@ -31,11 +36,7 @@ namespace IntegrationTests
public class ProjectTests : BaseMongoDbRepositoryTests<ProjectTestsDocument>
{
private class MyProjection
{
public DateTime SomeDate { get; set; }
public string SomeContent { get; set; }
}
[Test]
public async Task ProjectOneAsync()