mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-11-04 01:46:28 +00:00 
			
		
		
		
	Fix filter tests
This commit is contained in:
		@@ -74,7 +74,7 @@ async fn filter_invalid_syntax_object() {
 | 
			
		||||
    index.wait_task(1).await;
 | 
			
		||||
 | 
			
		||||
    let expected_response = json!({
 | 
			
		||||
        "message": "Was expecting an operation `=`, `!=`, `>=`, `>`, `<=`, `<`, `TO` or `_geoRadius` at `title & Glass`.\n1:14 title & Glass",
 | 
			
		||||
        "message": "Was expecting an operation `=`, `!=`, `>=`, `>`, `<=`, `<`, `TO`, `EXISTS`, `NOT EXISTS`, or `_geoRadius` at `title & Glass`.\n1:14 title & Glass",
 | 
			
		||||
        "code": "invalid_filter",
 | 
			
		||||
        "type": "invalid_request",
 | 
			
		||||
        "link": "https://docs.meilisearch.com/errors#invalid_filter"
 | 
			
		||||
@@ -101,7 +101,7 @@ async fn filter_invalid_syntax_array() {
 | 
			
		||||
    index.wait_task(1).await;
 | 
			
		||||
 | 
			
		||||
    let expected_response = json!({
 | 
			
		||||
        "message": "Was expecting an operation `=`, `!=`, `>=`, `>`, `<=`, `<`, `TO` or `_geoRadius` at `title & Glass`.\n1:14 title & Glass",
 | 
			
		||||
        "message": "Was expecting an operation `=`, `!=`, `>=`, `>`, `<=`, `<`, `TO`, `EXISTS`, `NOT EXISTS`, or `_geoRadius` at `title & Glass`.\n1:14 title & Glass",
 | 
			
		||||
        "code": "invalid_filter",
 | 
			
		||||
        "type": "invalid_request",
 | 
			
		||||
        "link": "https://docs.meilisearch.com/errors#invalid_filter"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user