File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ public void CanLogLinqExpressionWithoutInitializingContainedProxy()
47
47
// Verify that the expected logging did happen.
48
48
var actualLog = logspy . GetWholeLog ( ) ;
49
49
50
- const string expectedLog =
51
- "Expression (partially evaluated): value(NHibernate.Linq.NhQueryable`1[NHibernate.DomainModel.Northwind.Entities.Product])" +
52
- ".Where(product => (product == Product#1 )).Count()" ;
50
+ string expectedLog =
51
+ "Expression (partially evaluated): value(NHibernate.Linq.NhQueryable`1[NHibernate.DomainModel.Northwind.Entities.Product])" +
52
+ ".Where(product => (product == Product#" + productId + " )).Count()";
53
53
Assert . That ( actualLog , Is . StringContaining ( expectedLog ) ) ;
54
54
55
55
// And verify that the proxy in the expression wasn't initialized.
You can’t perform that action at this time.
0 commit comments