fix some tests

This commit is contained in:
Chris Cochrun 2026-01-14 12:27:59 -06:00
parent 6e4fe70838
commit 39f797f8de
2 changed files with 5 additions and 8 deletions

View file

@ -522,13 +522,7 @@ mod test {
#[test]
pub fn test_pres() {
let pres = Presentation::new();
assert_eq!(
pres.get_kind(),
&PresKind::Pdf {
starting_index: 0,
ending_index: 0,
}
)
assert_eq!(pres.get_kind(), &PresKind::Generic)
}
#[tokio::test]

View file

@ -170,7 +170,10 @@ mod test {
background: Some(Background::try_from("file:///home/chris/nc/tfc/openlp/CMG - Bright Mountains 01.jpg").unwrap()),
text_alignment: Some(TextAlignment::MiddleCenter),
font: Some("Quicksand Bold".to_string()),
font_size: Some(60)
font_size: Some(60),
stroke_size: Some(2),
verses: None,
verse_map: None
}
}
}