feature/insights #46

Merged
cameron merged 25 commits from feature/insights into master 2026-01-15 01:07:59 +00:00
2 changed files with 9 additions and 9 deletions
Showing only changes of commit 0efa8269a1 - Show all commits

View File

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

View File

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