This commit is contained in:
Cameron
2026-01-10 11:34:16 -05:00
parent b2cc617bc2
commit 0efa8269a1
2 changed files with 9 additions and 9 deletions

View File

@@ -191,7 +191,7 @@ mod tests {
fn test_extract_query_from_url() {
let url = "https://www.google.com/search?q=rust+programming&oq=rust";
let query = extract_query_from_url(url);
assert_eq!(query, Some("rust programming".to_string()));
assert_eq!(query, Some("rust+programming".to_string()));
}
#[test]

View File

@@ -783,8 +783,8 @@ mod tests {
fn get_files_with_all_tag_ids(
&mut self,
tag_ids: Vec<i32>,
exclude_tag_ids: Vec<i32>,
_tag_ids: Vec<i32>,
_exclude_tag_ids: Vec<i32>,
_context: &opentelemetry::Context,
) -> anyhow::Result<Vec<FileWithTagCount>> {
todo!()
@@ -792,8 +792,8 @@ mod tests {
fn get_files_with_any_tag_ids(
&mut self,
tag_ids: Vec<i32>,
exclude_tag_ids: Vec<i32>,
_tag_ids: Vec<i32>,
_exclude_tag_ids: Vec<i32>,
_context: &opentelemetry::Context,
) -> anyhow::Result<Vec<FileWithTagCount>> {
todo!()
@@ -801,16 +801,16 @@ mod tests {
fn update_photo_name(
&mut self,
old_name: &str,
new_name: &str,
context: &opentelemetry::Context,
_old_name: &str,
_new_name: &str,
_context: &opentelemetry::Context,
) -> anyhow::Result<()> {
todo!()
}
fn get_all_photo_names(
&mut self,
context: &opentelemetry::Context,
_context: &opentelemetry::Context,
) -> anyhow::Result<Vec<String>> {
todo!()
}