[wip] cli capability parity
Some checks failed
CI / Rustfmt (push) Successful in 23s
CI / Cargo Audit & Deny (push) Successful in 30s
CI / Web Blocking Checks (push) Successful in 48s
CI / Security Blocking Checks (push) Successful in 8s
CI / Clippy (push) Failing after 1m55s
CI / Web Advisory Checks (push) Successful in 35s
CI / Security Advisory Checks (push) Successful in 37s
CI / Tests (push) Successful in 8m5s
Some checks failed
CI / Rustfmt (push) Successful in 23s
CI / Cargo Audit & Deny (push) Successful in 30s
CI / Web Blocking Checks (push) Successful in 48s
CI / Security Blocking Checks (push) Successful in 8s
CI / Clippy (push) Failing after 1m55s
CI / Web Advisory Checks (push) Successful in 35s
CI / Security Advisory Checks (push) Successful in 37s
CI / Tests (push) Successful in 8m5s
This commit is contained in:
@@ -13,6 +13,7 @@ use helpers::*;
|
||||
use serde_json::json;
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_create_action() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -35,6 +36,7 @@ async fn test_create_action() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_create_action_with_optional_fields() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -71,6 +73,7 @@ async fn test_create_action_with_optional_fields() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_find_action_by_id() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -95,6 +98,7 @@ async fn test_find_action_by_id() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_find_action_by_id_not_found() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -104,6 +108,7 @@ async fn test_find_action_by_id_not_found() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_find_action_by_ref() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -127,6 +132,7 @@ async fn test_find_action_by_ref() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_find_action_by_ref_not_found() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -138,6 +144,7 @@ async fn test_find_action_by_ref_not_found() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_list_actions() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -167,6 +174,7 @@ async fn test_list_actions() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_list_actions_empty() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -176,6 +184,7 @@ async fn test_list_actions_empty() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_update_action() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -211,6 +220,7 @@ async fn test_update_action() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_update_action_not_found() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -225,6 +235,7 @@ async fn test_update_action_not_found() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_update_action_partial() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -254,6 +265,7 @@ async fn test_update_action_partial() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_delete_action() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -278,6 +290,7 @@ async fn test_delete_action() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_delete_action_not_found() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -287,6 +300,7 @@ async fn test_delete_action_not_found() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_actions_cascade_delete_with_pack() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -314,6 +328,7 @@ async fn test_actions_cascade_delete_with_pack() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_action_foreign_key_constraint() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -338,6 +353,7 @@ async fn test_action_foreign_key_constraint() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_multiple_actions_same_pack() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -362,6 +378,7 @@ async fn test_multiple_actions_same_pack() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_action_unique_ref_constraint() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -386,6 +403,7 @@ async fn test_action_unique_ref_constraint() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_action_with_json_schemas() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -423,6 +441,7 @@ async fn test_action_with_json_schemas() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_action_timestamps_auto_populated() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -443,6 +462,7 @@ async fn test_action_timestamps_auto_populated() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_action_updated_changes_on_update() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user