test dir cleanup: rename test/0001/dd79c8cfb8beeacd0460429944b4ecbe comment
Renaming everything also means they have new creation-times, since we're now git logging a different file/dir.
This commit is contained in:
parent
05c7c6f441
commit
598f4e5df8
4 changed files with 18 additions and 8 deletions
|
|
@ -179,7 +179,16 @@ mod tests {
|
|||
let comment_uuid = String::from("9055dac36045fe36545bed7ae7b49347");
|
||||
comment_dir.push("comments");
|
||||
comment_dir.push(&comment_uuid);
|
||||
let expected_comments = Vec::<crate::comment::Comment>::new();
|
||||
let mut expected_comments = Vec::<crate::comment::Comment>::new();
|
||||
expected_comments.push(
|
||||
crate::comment::Comment {
|
||||
uuid: comment_uuid,
|
||||
author: String::from("Sebastian Kuzminsky <seb@highlab.com>"),
|
||||
creation_time: chrono::DateTime::parse_from_rfc3339("2025-07-24T10:08:38-06:00").unwrap().with_timezone(&chrono::Local),
|
||||
description: String::from("This is a comment on issue dd79c8cfb8beeacd0460429944b4ecbe\n\nIt has multiple lines\n"),
|
||||
dir: std::path::PathBuf::from(comment_dir),
|
||||
}
|
||||
);
|
||||
expected.add_issue(
|
||||
crate::issue::Issue {
|
||||
id: uuid,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue