Skip to content

Commit

Permalink
Rewrite tests without new method
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros committed Nov 15, 2024
1 parent e7ef8eb commit d824ff2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion test/YesSql.Tests/CoreTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1680,7 +1680,17 @@ public async Task ShouldAdvancedQueryMultipleIndexes()

using (var session = _store.CreateSession())
{
Assert.Equal(2, await session.AdvancedQueryIndex<PersonIdentity>()
// Assert.Equal(2, await session.AdvancedQueryIndex<PersonIdentity>()
// .All(
// x => x.With<PersonByNullableAge>(x => x.Age == null || x.Age == 0),
// x => x.Any(
// x => x.With<PersonIdentity>(x => x.Identity == "Hanselman"),
// x => x.With<PersonIdentity>(x => x.Identity == "Guthrie"))
// )
// .CountAsync()
// );

Assert.Equal(2, await session.Query<Person>()
.All(
x => x.With<PersonByNullableAge>(x => x.Age == null || x.Age == 0),
x => x.Any(
Expand Down

0 comments on commit d824ff2

Please sign in to comment.