From 524efc2620565c70b29dce779158877431d919c7 Mon Sep 17 00:00:00 2001 From: Richard Shiue <71320345+richardshiue@users.noreply.github.com> Date: Wed, 13 Sep 2023 19:12:40 +0800 Subject: [PATCH] test: fi convert text to date cell test (#3377) --- .../services/field/type_options/text_type_option/text_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/rust-lib/flowy-database2/src/services/field/type_options/text_type_option/text_tests.rs b/frontend/rust-lib/flowy-database2/src/services/field/type_options/text_type_option/text_tests.rs index cccc5f84ab..001c67e612 100644 --- a/frontend/rust-lib/flowy-database2/src/services/field/type_options/text_type_option/text_tests.rs +++ b/frontend/rust-lib/flowy-database2/src/services/field/type_options/text_type_option/text_tests.rs @@ -12,7 +12,7 @@ mod tests { #[test] fn date_type_to_text_type() { let field_type = FieldType::DateTime; - let field = FieldBuilder::from_field_type(field_type.clone()).build(); + let field = FieldBuilder::new(field_type.clone(), DateTypeOption::test()).build(); assert_eq!( stringify_cell_data(