mirror of
https://github.com/zoriya/EntityFrameworkCore.Projectables.git
synced 2025-12-06 05:56:10 +00:00
Fixed incorrect functional test
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
SELECT CAST(LEN([e].[Name]) AS int)
|
SELECT [e].[Name]
|
||||||
FROM [Entity] AS [e]
|
FROM [Entity] AS [e]
|
||||||
@@ -18,7 +18,7 @@ namespace EntityFrameworkCore.Projectables.FunctionalTests.NullConditionals
|
|||||||
using var dbContext = new SampleDbContext<Entity>();
|
using var dbContext = new SampleDbContext<Entity>();
|
||||||
|
|
||||||
var query = dbContext.Set<Entity>()
|
var query = dbContext.Set<Entity>()
|
||||||
.Select(x => x.GetNameLengthRewriteNulls());
|
.Select(x => x.GetNameRewriteNulls());
|
||||||
|
|
||||||
return Verifier.Verify(query.ToQueryString());
|
return Verifier.Verify(query.ToQueryString());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user