diff --git a/tests/bakery_chain/cake.rs b/tests/bakery_chain/cake.rs index 8843fa9c..21fcf9e1 100644 --- a/tests/bakery_chain/cake.rs +++ b/tests/bakery_chain/cake.rs @@ -13,7 +13,7 @@ impl EntityName for Entity { pub struct Model { pub id: i32, pub name: String, - pub price: f32, + pub price: f64, pub bakery_id: Option, pub gluten_free: bool, } diff --git a/tests/bakery_chain/lineitem.rs b/tests/bakery_chain/lineitem.rs index 8afee4c3..7b7f2b66 100644 --- a/tests/bakery_chain/lineitem.rs +++ b/tests/bakery_chain/lineitem.rs @@ -12,7 +12,7 @@ impl EntityName for Entity { #[derive(Clone, Debug, PartialEq, DeriveModel, DeriveActiveModel)] pub struct Model { pub id: i32, - pub price: f32, + pub price: f64, pub quantity: i32, pub order_id: Option, }