artifact management
This commit is contained in:
@@ -196,11 +196,7 @@ async fn test_update_action() {
|
||||
let update = UpdateActionInput {
|
||||
label: Some("Updated Label".to_string()),
|
||||
description: Some("Updated description".to_string()),
|
||||
entrypoint: None,
|
||||
runtime: None,
|
||||
runtime_version_constraint: None,
|
||||
param_schema: None,
|
||||
out_schema: None,
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
let updated = ActionRepository::update(&pool, action.id, update)
|
||||
|
||||
@@ -263,6 +263,7 @@ async fn test_update_artifact_all_fields() {
|
||||
content_type: Some("image/png".to_string()),
|
||||
size_bytes: Some(12345),
|
||||
data: Some(serde_json::json!({"key": "value"})),
|
||||
execution: None,
|
||||
};
|
||||
|
||||
let updated = ArtifactRepository::update(&pool, created.id, update_input.clone())
|
||||
|
||||
Reference in New Issue
Block a user