|
@@ -136,13 +136,13 @@ async fn app_create_with_view() {
|
|
|
name: "View A".to_owned(),
|
|
|
desc: "View A description".to_owned(),
|
|
|
data_type: ViewDataTypePB::Text,
|
|
|
- layout: ViewLayoutTypePB::Document,
|
|
|
+ layout: ViewLayoutTypePB::Grid,
|
|
|
},
|
|
|
CreateView {
|
|
|
name: "Grid".to_owned(),
|
|
|
desc: "Grid description".to_owned(),
|
|
|
data_type: ViewDataTypePB::Database,
|
|
|
- layout: ViewLayoutTypePB::Document,
|
|
|
+ layout: ViewLayoutTypePB::Grid,
|
|
|
},
|
|
|
ReadApp(app.id),
|
|
|
])
|
|
@@ -202,13 +202,13 @@ async fn view_delete_all() {
|
|
|
name: "View A".to_owned(),
|
|
|
desc: "View A description".to_owned(),
|
|
|
data_type: ViewDataTypePB::Text,
|
|
|
- layout: ViewLayoutTypePB::Document,
|
|
|
+ layout: ViewLayoutTypePB::Grid,
|
|
|
},
|
|
|
CreateView {
|
|
|
name: "Grid".to_owned(),
|
|
|
desc: "Grid description".to_owned(),
|
|
|
data_type: ViewDataTypePB::Database,
|
|
|
- layout: ViewLayoutTypePB::Document,
|
|
|
+ layout: ViewLayoutTypePB::Grid,
|
|
|
},
|
|
|
ReadApp(app.id.clone()),
|
|
|
])
|
|
@@ -237,7 +237,7 @@ async fn view_delete_all_permanent() {
|
|
|
name: "View A".to_owned(),
|
|
|
desc: "View A description".to_owned(),
|
|
|
data_type: ViewDataTypePB::Text,
|
|
|
- layout: ViewLayoutTypePB::Document,
|
|
|
+ layout: ViewLayoutTypePB::Grid,
|
|
|
},
|
|
|
ReadApp(app.id.clone()),
|
|
|
])
|
|
@@ -337,7 +337,7 @@ async fn folder_sync_revision_with_new_view() {
|
|
|
name: view_name.clone(),
|
|
|
desc: view_desc.clone(),
|
|
|
data_type: ViewDataTypePB::Text,
|
|
|
- layout: ViewLayoutTypePB::Document,
|
|
|
+ layout: ViewLayoutTypePB::Grid,
|
|
|
},
|
|
|
AssertCurrentRevId(3),
|
|
|
AssertNextSyncRevId(Some(3)),
|