Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 9c1c974

Browse files
committed
Comment out not supported test
1 parent e47e1f8 commit 9c1c974

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

tests/ServiceStack.OrmLite.Tests/ExpressionVisitorTests.cs

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -407,16 +407,19 @@ public void Can_Where_using_filter_with_nested_properties()
407407
target = Db.Select(q);
408408
Assert.That(target.Count, Is.EqualTo(1));
409409

410-
q = Db.From<TestType>().
411-
Join<TestType2>().
412-
Join<TestType2, TestType3>().
413-
Where(x => !x.NullableBoolCol.HasValue && x.TestType2ObjCol.BoolCol &&
414-
x.NullableIntCol == new CustomInt(10)).
415-
GroupBy(x => x.TestType2ObjCol.TestType3ObjCol.CustomInt).
416-
Having(x => (Sql.Max(x.TestType2ObjCol.TestType3ObjCol.CustomInt) ?? 0) != 10).
417-
Select(x => x.TestType2ObjCol.TestType3ObjCol.CustomInt);
418-
target = Db.Select(q);
419-
Assert.That(target.Count, Is.EqualTo(1));
410+
//q = Db.From<TestType>().
411+
// Join<TestType2>().
412+
// Join<TestType2, TestType3>().
413+
// Where(x => !x.NullableBoolCol.HasValue && x.TestType2ObjCol.BoolCol &&
414+
// x.NullableIntCol == new CustomInt(10)).
415+
// GroupBy(x => x.TestType2ObjCol.TestType3ObjCol.CustomInt).
416+
// Having(x => (Sql.Max(x.TestType2ObjCol.TestType3ObjCol.CustomInt) ?? 0) != 10).
417+
// Select(x => x.TestType2ObjCol.TestType3ObjCol.CustomInt);
418+
//target = Db.Select(q);
419+
//Assert.That(target.Count, Is.EqualTo(1));
420+
//Assert.That(q.Params[0].Value, Is.EqualTo(10));
421+
//Assert.That(q.Params[1].Value, Is.EqualTo(0)); //= "{Value:0}"
422+
//Assert.That(q.Params[2].Value, Is.EqualTo(10));
420423
}
421424

422425
[Test]

0 commit comments

Comments
 (0)