feat: fix models.rs
This commit is contained in:
@@ -973,6 +973,8 @@ mod tests {
|
|||||||
certificate_template: None,
|
certificate_template: None,
|
||||||
price: 0.0,
|
price: 0.0,
|
||||||
currency: "USD".to_string(),
|
currency: "USD".to_string(),
|
||||||
|
marketing_metadata: None,
|
||||||
|
course_image_url: None,
|
||||||
created_at: Utc::now(),
|
created_at: Utc::now(),
|
||||||
updated_at: Utc::now(),
|
updated_at: Utc::now(),
|
||||||
},
|
},
|
||||||
@@ -986,6 +988,7 @@ mod tests {
|
|||||||
certificate_template: None,
|
certificate_template: None,
|
||||||
platform_name: None,
|
platform_name: None,
|
||||||
favicon_url: None,
|
favicon_url: None,
|
||||||
|
logo_variant: None,
|
||||||
created_at: Utc::now(),
|
created_at: Utc::now(),
|
||||||
updated_at: Utc::now(),
|
updated_at: Utc::now(),
|
||||||
},
|
},
|
||||||
@@ -1008,6 +1011,8 @@ mod tests {
|
|||||||
certificate_template: None,
|
certificate_template: None,
|
||||||
price: 29.99,
|
price: 29.99,
|
||||||
currency: "USD".to_string(),
|
currency: "USD".to_string(),
|
||||||
|
marketing_metadata: None,
|
||||||
|
course_image_url: None,
|
||||||
created_at: Utc::now(),
|
created_at: Utc::now(),
|
||||||
updated_at: Utc::now(),
|
updated_at: Utc::now(),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user