From 8f3774dfc154873eda6097910ff2ced36a5e3af7 Mon Sep 17 00:00:00 2001 From: philipp Date: Thu, 9 Nov 2023 09:13:32 +0100 Subject: [PATCH] fix tests --- src/model/boat.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/model/boat.rs b/src/model/boat.rs index 3039f82..b7e9c7a 100644 --- a/src/model/boat.rs +++ b/src/model/boat.rs @@ -304,7 +304,8 @@ mod test { skull: true, external: false, location_id: Some(1), - owner: None + owner: None, + default_destination: None } ) .await, @@ -328,7 +329,8 @@ mod test { skull: true, external: false, location_id: Some(1), - owner: None + owner: None, + default_destination: None } ) .await, @@ -430,6 +432,7 @@ mod test { external: false, location_id: 1, owner: None, + default_destination: None, }; boat.update(&pool, update).await.unwrap(); @@ -452,6 +455,7 @@ mod test { external: false, location_id: 999, owner: None, + default_destination: None, }; match boat.update(&pool, update).await {