From 49a43bdf5c5de1ea662f6bfaf5318145fefd2816 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 10 Oct 2020 12:41:25 +0200 Subject: fix tests --- src/output/sorting.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/output/sorting.rs b/src/output/sorting.rs index 911a7df..2ed746a 100644 --- a/src/output/sorting.rs +++ b/src/output/sorting.rs @@ -135,7 +135,7 @@ mod tests { use super::*; use chrono::prelude::*; - use evtclib::Boss as B; + use evtclib::Encounter as E; #[test] fn test_parse_component() { @@ -175,7 +175,7 @@ mod tests { log_file: "".into(), time: Utc.ymd(2020, 4, 3).and_hms(12, 0, 0), duration, - boss: Some(B::Dhuum), + encounter: Some(E::VoiceInTheVoid), players: vec![], outcome: FightOutcome::Success, is_cm: false, @@ -184,7 +184,7 @@ mod tests { log_file: "".into(), time: Utc.ymd(2020, 4, 3).and_hms(13, 0, 0), duration, - boss: Some(B::Dhuum), + encounter: Some(E::VoiceInTheVoid), players: vec![], outcome: FightOutcome::Success, is_cm: false, @@ -193,7 +193,7 @@ mod tests { log_file: "".into(), time: Utc.ymd(2020, 4, 3).and_hms(11, 0, 0), duration, - boss: Some(B::Dhuum), + encounter: Some(E::VoiceInTheVoid), players: vec![], outcome: FightOutcome::Success, is_cm: false, @@ -202,7 +202,7 @@ mod tests { log_file: "".into(), time: Utc.ymd(2020, 4, 3).and_hms(11, 0, 0), duration, - boss: Some(B::Qadim), + encounter: Some(E::Qadim), players: vec![], outcome: FightOutcome::Success, is_cm: false, @@ -211,7 +211,7 @@ mod tests { log_file: "".into(), time: Utc.ymd(2020, 4, 3).and_hms(11, 0, 0), duration, - boss: Some(B::Dhuum), + encounter: Some(E::VoiceInTheVoid), players: vec![], outcome: FightOutcome::Success, is_cm: false, -- cgit v1.2.3