You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[test_case::test_case(|_q| {},Ok("ContestedResources([ContestedResource(Text(".into());"unmodified base query is Ok")]
234
234
#[test_case::test_case(|q| q.start_index_values = vec![Value::Text("".to_string())],Ok("".into());"index value empty string is Ok")]
235
-
#[test_case::test_case(|q| q.document_type_name = "some random non-existing name".to_string(),Err(r#"code: InvalidArgument, message: "document type some random non-existing name not found"#);"non existing document type returns InvalidArgument")]
236
-
#[test_case::test_case(|q| q.index_name = "nx index".to_string(),Err(r#"code: InvalidArgument, message: "index with name nx index is not the contested index"#);"non existing index returns InvalidArgument")]
237
-
#[test_case::test_case(|q| q.index_name = "dashIdentityId".to_string(),Err(r#"code: InvalidArgument, message: "index with name dashIdentityId is not the contested index"#);"existing non-contested index returns InvalidArgument")]
235
+
#[test_case::test_case(|q| q.document_type_name = "some random non-existing name".to_string(),Err(r#"status: InvalidArgument, message: "document type some random non-existing name not found"#);"non existing document type returns InvalidArgument")]
236
+
#[test_case::test_case(|q| q.index_name = "nx index".to_string(),Err(r#"status: InvalidArgument, message: "index with name nx index is not the contested index"#);"non existing index returns InvalidArgument")]
237
+
#[test_case::test_case(|q| q.index_name = "dashIdentityId".to_string(),Err(r#"status: InvalidArgument, message: "index with name dashIdentityId is not the contested index"#);"existing non-contested index returns InvalidArgument")]
238
238
// Disabled due to bug PLAN-653
239
-
// #[test_case::test_case(|q| q.start_at_value = Some((Value::Array(vec![]), true)), Err(r#"code: InvalidArgument"#); "start_at_value wrong index type returns InvalidArgument PLAN-653")]
239
+
// #[test_case::test_case(|q| q.start_at_value = Some((Value::Array(vec![]), true)), Err(r#"status: InvalidArgument"#); "start_at_value wrong index type returns InvalidArgument PLAN-653")]
#[test_case::test_case(|q| q.end_index_values = vec![Value::Array(vec![0.into(),1.into()])],Err("incorrect index values error: too many end index values were provided");"wrong type of end_index_values should return InvalidArgument")]
0 commit comments