mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-11-04 01:46:28 +00:00 
			
		
		
		
	Fix tests
This commit is contained in:
		@@ -55,7 +55,7 @@ async fn get_settings() {
 | 
			
		||||
    let (response, code) = index.settings().await;
 | 
			
		||||
    assert_eq!(code, 200);
 | 
			
		||||
    let settings = response.as_object().unwrap();
 | 
			
		||||
    assert_eq!(settings.keys().len(), 16);
 | 
			
		||||
    assert_eq!(settings.keys().len(), 17);
 | 
			
		||||
    assert_eq!(settings["displayedAttributes"], json!(["*"]));
 | 
			
		||||
    assert_eq!(settings["searchableAttributes"], json!(["*"]));
 | 
			
		||||
    assert_eq!(settings["filterableAttributes"], json!([]));
 | 
			
		||||
@@ -195,7 +195,8 @@ async fn secrets_are_hidden_in_settings() {
 | 
			
		||||
          "response": "{{embedding}}"
 | 
			
		||||
        }
 | 
			
		||||
      },
 | 
			
		||||
      "searchCutoffMs": null
 | 
			
		||||
      "searchCutoffMs": null,
 | 
			
		||||
      "localizedAttributes": null
 | 
			
		||||
    }
 | 
			
		||||
    "###);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user