Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

test: fi convert text to date cell test (#3377)

Richard Shiue524efc262056
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(