From 931d74f57703c1bb9c1a62eea9f8af06e9cc8675 Mon Sep 17 00:00:00 2001 From: daladim Date: Wed, 31 Mar 2021 08:40:21 +0200 Subject: [PATCH] [minor] Tests --- tests/caldav_client.rs | 27 +++++++++++++-------------- tests/sync.rs | 11 +++++++++-- 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/tests/caldav_client.rs b/tests/caldav_client.rs index 1701321..ef6f21b 100644 --- a/tests/caldav_client.rs +++ b/tests/caldav_client.rs @@ -7,8 +7,6 @@ use minidom::Element; use url::Url; use my_tasks::client::Client; -use my_tasks::traits::BaseCalendar; -use my_tasks::traits::DavCalendar; use my_tasks::traits::CalDavSource; use my_tasks::settings::URL; @@ -16,6 +14,9 @@ use my_tasks::settings::USERNAME; use my_tasks::settings::PASSWORD; use my_tasks::settings::EXAMPLE_TASK_URL; use my_tasks::settings::EXAMPLE_CALENDAR_URL; +use my_tasks::ItemId; +use my_tasks::traits::DavCalendar; + static EXAMPLE_TASKS_BODY_LAST_MODIFIED: &str = r#"