Skip to content

Commit

Permalink
Added test
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao committed Jan 29, 2024
1 parent d883ccf commit 7b1e1ab
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/it/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,11 @@ async fn airports() -> Result<(), Box<dyn Error>> {
assert_eq!(airport.name, "Aalborg Airport");
Ok(())
}

#[tokio::test]
async fn loads() -> Result<(), Box<dyn Error>> {
let _ = flights::load_aircraft_owners()?;
let _ = flights::load_private_jet_types()?;
let _ = flights::load_owners()?;
Ok(())
}

0 comments on commit 7b1e1ab

Please sign in to comment.