Minor changes

This commit is contained in:
Boris Milašinović
2026-04-29 15:21:17 +02:00
parent d06433e2f6
commit b849c6feb6
14 changed files with 90 additions and 81 deletions

View File

@@ -14,13 +14,13 @@ public class ProviderSpecificQueryShould
ctx.People.Add(ControllerTestContext.CreatePerson());
await ctx.SaveChangesAsync();
var people = await ctx.People
.Where(person => person.FirstName != null && Microsoft.EntityFrameworkCore.EF.Functions.ILike(person.FirstName, "%iv%"))
.ToListAsync();
var people = await ctx.People
.Where(person => person.FirstName != null && Microsoft.EntityFrameworkCore.EF.Functions.ILike(person.FirstName, "%iv%"))
.ToListAsync();
Assert.Single(people);
Assert.Equal("Ivan", people[0].FirstName);
}
Assert.Single(people);
Assert.Equal("Ivan", people[0].FirstName);
}
[Fact]
public async Task ThrowInvalidOperationExceptionWhenUsingILikeWithInMemoryProvider()