fix tests

This commit is contained in:
Ruben Fiszel
2026-01-09 07:23:45 +00:00
parent 7abff02e2d
commit 564746add5
2 changed files with 2 additions and 11 deletions
-5
View File
@@ -2080,7 +2080,6 @@ async fn test_flow_lock_all(db: Pool<Postgres>) -> anyhow::Result<()> {
.get_flow_by_path("test-workspace", "g/all/flow_lock_all", None)
.await
.unwrap()
.into_inner()
.open_flow
.value
.modules;
@@ -2363,7 +2362,6 @@ async fn test_script_schedule_handlers(db: Pool<Postgres>) -> anyhow::Result<()>
no_flow_overlap: None,
summary: None,
tag: None,
paused_until: None,
cron_version: None,
description: None,
};
@@ -2434,7 +2432,6 @@ async fn test_script_schedule_handlers(db: Pool<Postgres>) -> anyhow::Result<()>
summary: None,
no_flow_overlap: None,
tag: None,
paused_until: None,
cron_version: None,
description: None,
},
@@ -2520,7 +2517,6 @@ async fn test_flow_schedule_handlers(db: Pool<Postgres>) -> anyhow::Result<()> {
no_flow_overlap: None,
summary: None,
tag: None,
paused_until: None,
cron_version: None,
description: None,
};
@@ -2592,7 +2588,6 @@ async fn test_flow_schedule_handlers(db: Pool<Postgres>) -> anyhow::Result<()> {
summary: None,
no_flow_overlap: None,
tag: None,
paused_until: None,
cron_version: None,
description: None,
},
+2 -6
View File
@@ -733,12 +733,8 @@ pub mod types {
#[derive(Clone, Debug, Deserialize)]
pub struct Flow {
pub path: String,
pub summary: String,
#[serde(default)]
pub description: Option<String>,
pub value: serde_json::Value,
#[serde(default)]
pub schema: Option<serde_json::Value>,
#[serde(flatten)]
pub open_flow: OpenFlow,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}