File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
tests/MongoDB.Driver.Tests/Linq/Linq3ImplementationTests/Jira Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 18
18
using FluentAssertions ;
19
19
using MongoDB . Bson ;
20
20
using MongoDB . Bson . Serialization ;
21
+ using MongoDB . Driver . Core . Misc ;
22
+ using MongoDB . Driver . Core . TestHelpers . XunitExtensions ;
21
23
using MongoDB . Driver . Linq ;
22
24
using Xunit ;
23
25
24
26
namespace MongoDB . Driver . Tests . Linq . Linq3ImplementationTests . Jira
25
27
{
26
28
public class CSharp2727Tests : Linq3IntegrationTest
27
29
{
28
- [ Fact ]
30
+ [ SkippableFact ]
29
31
public void Find_with_predicate_on_Body_should_work ( )
30
32
{
33
+ RequireServer . Check ( ) . Supports ( Feature . AggregateToString ) ;
31
34
var collection = CreateCollection ( ) ;
32
35
var filter = new ExpressionFilterDefinition < Entity > ( x => new [ ] { "Test1" , "Test2" } . Contains ( ( string ) x . Body [ "name" ] ) ) ;
33
36
@@ -61,9 +64,10 @@ public void Find_with_predicate_on_Caption_should_work()
61
64
results . Select ( x => x . Id ) . Should ( ) . Equal ( 1 , 2 ) ;
62
65
}
63
66
64
- [ Fact ]
67
+ [ SkippableFact ]
65
68
public void Where_with_predicate_on_Body_should_work ( )
66
69
{
70
+ RequireServer . Check ( ) . Supports ( Feature . AggregateToString ) ;
67
71
var collection = CreateCollection ( ) ;
68
72
69
73
var queryable = collection
You can’t perform that action at this time.
0 commit comments