Skip to content

Commit

Permalink
chore: fix remove view desc test
Browse files Browse the repository at this point in the history
  • Loading branch information
appflowy committed Nov 1, 2024
1 parent 910b643 commit 2186e16
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 83 deletions.
26 changes: 14 additions & 12 deletions frontend/appflowy_tauri/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion frontend/rust-lib/event-integration-test/src/chat_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ impl EventIntegrationTest {
let payload = CreateViewPayloadPB {
parent_view_id: parent_id.to_string(),
name: "chat".to_string(),
desc: "".to_string(),
thumbnail: None,
layout: ViewLayoutPB::Chat,
initial_data: vec![],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ impl EventIntegrationTest {
let payload = CreateViewPayloadPB {
parent_view_id: parent_id.to_string(),
name,
desc: "".to_string(),
thumbnail: None,
layout: ViewLayoutPB::Grid,
initial_data,
Expand Down Expand Up @@ -71,7 +70,6 @@ impl EventIntegrationTest {
let payload = CreateViewPayloadPB {
parent_view_id: parent_id.to_string(),
name,
desc: "".to_string(),
thumbnail: None,
layout: ViewLayoutPB::Board,
initial_data,
Expand Down Expand Up @@ -99,7 +97,6 @@ impl EventIntegrationTest {
let payload = CreateViewPayloadPB {
parent_view_id: parent_id.to_string(),
name,
desc: "".to_string(),
thumbnail: None,
layout: ViewLayoutPB::Calendar,
initial_data,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ impl DocumentEventTest {
let payload = CreateViewPayloadPB {
parent_view_id: parent_id.to_string(),
name: "document".to_string(),
desc: "".to_string(),
thumbnail: None,
layout: ViewLayoutPB::Document,
initial_data: vec![],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ impl EventIntegrationTest {
let payload = CreateViewPayloadPB {
parent_view_id: parent_id.to_string(),
name,
desc: "".to_string(),
thumbnail: None,
layout: ViewLayoutPB::Document,
initial_data,
Expand Down
4 changes: 0 additions & 4 deletions frontend/rust-lib/event-integration-test/src/folder_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ impl EventIntegrationTest {
.map(|view| CreateViewParams {
parent_view_id: view.parent_view_id,
name: view.name,
desc: "".to_string(),
layout: view.layout.into(),
view_id: view.id,
initial_data: ViewData::Empty,
Expand Down Expand Up @@ -154,7 +153,6 @@ impl EventIntegrationTest {
pub async fn create_orphan_view(&self, name: &str, view_id: &str, layout: ViewLayoutPB) {
let payload = CreateOrphanViewPayloadPB {
name: name.to_string(),
desc: "".to_string(),
layout,
view_id: view_id.to_string(),
initial_data: vec![],
Expand Down Expand Up @@ -288,7 +286,6 @@ impl EventIntegrationTest {
let payload = CreateViewPayloadPB {
parent_view_id: parent_id.to_string(),
name,
desc: "".to_string(),
thumbnail: None,
layout,
initial_data: vec![],
Expand Down Expand Up @@ -354,7 +351,6 @@ impl ViewTest {
let payload = CreateViewPayloadPB {
parent_view_id: workspace.id.clone(),
name: "View A".to_string(),
desc: "".to_string(),
thumbnail: Some("http://1.png".to_string()),
layout: layout.into(),
initial_data: data,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ pub async fn create_view(
let request = CreateViewPayloadPB {
parent_view_id: parent_view_id.to_string(),
name: name.to_string(),
desc: desc.to_string(),
thumbnail: None,
layout: layout.into(),
initial_data: vec![],
Expand Down
2 changes: 0 additions & 2 deletions frontend/rust-lib/flowy-folder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,4 @@ pub mod manager_test_util;

pub mod publish_util;
pub mod share;
#[cfg(feature = "test_helper")]
mod test_helper;
mod util;
58 changes: 0 additions & 58 deletions frontend/rust-lib/flowy-folder/src/test_helper.rs

This file was deleted.

0 comments on commit 2186e16

Please sign in to comment.