File tree Expand file tree Collapse file tree
QueryKit.IntegrationTests/Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -322,4 +322,23 @@ public async Task can_handle_case_insensitive_in_for_string()
322322 people . FirstOrDefault ( x => x . Id == fakePersonOne . Id ) . Should ( ) . NotBeNull ( ) ;
323323 people . FirstOrDefault ( x => x . Id == fakePersonTwo . Id ) . Should ( ) . BeNull ( ) ;
324324 }
325+
326+ [ Fact ]
327+ public async Task can_handle_case_sensitive_in_for_string ( )
328+ {
329+ // Arrange
330+ var testingServiceScope = new TestingServiceScope ( ) ;
331+ var fakePersonOne = new FakeTestingPersonBuilder ( ) . Build ( ) ;
332+ await testingServiceScope . InsertAsync ( fakePersonOne ) ;
333+
334+ var input = $ """ Title ^^ ["{ fakePersonOne . Title . ToUpper ( ) } "]""" ;
335+
336+ // Act
337+ var queryablePeople = testingServiceScope . DbContext ( ) . People ;
338+ var appliedQueryable = queryablePeople . ApplyQueryKitFilter ( input ) ;
339+ var people = await appliedQueryable . ToListAsync ( ) ;
340+
341+ // Assert
342+ people . FirstOrDefault ( x => x . Id == fakePersonOne . Id ) . Should ( ) . BeNull ( ) ;
343+ }
325344}
You can’t perform that action at this time.
0 commit comments