implement the dump v4 import

This commit is contained in:
Tamo 2022-10-06 15:49:30 +02:00 committed by Clément Renault
parent 13e8247f77
commit 39044558f0
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
17 changed files with 3933 additions and 148 deletions

View file

@ -304,7 +304,6 @@ pub(crate) mod test {
for (task, mut expected) in tasks_queue.lines().zip(create_test_tasks()) {
// TODO: This can be removed once `Duration` from the `TaskView` is implemented.
expected.0.duration = None;
dbg!(&task);
assert_eq!(serde_json::from_str::<TaskView>(task).unwrap(), expected.0);
if let Some(expected_update) = expected.1 {