[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:
@@ -21,6 +21,7 @@ use serde_json::json;
|
||||
// ============================================================================
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_create_event_minimal() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -60,6 +61,7 @@ async fn test_create_event_minimal() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_create_event_with_payload() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -101,6 +103,7 @@ async fn test_create_event_with_payload() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_create_event_with_config() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -136,6 +139,7 @@ async fn test_create_event_with_config() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_create_event_without_trigger_id() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -158,6 +162,7 @@ async fn test_create_event_without_trigger_id() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_create_event_with_source() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -191,6 +196,7 @@ async fn test_create_event_with_source() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_create_event_with_invalid_trigger_fails() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -217,6 +223,7 @@ async fn test_create_event_with_invalid_trigger_fails() {
|
||||
// ============================================================================
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_find_event_by_id() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -249,6 +256,7 @@ async fn test_find_event_by_id() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_find_event_by_id_not_found() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -258,6 +266,7 @@ async fn test_find_event_by_id_not_found() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_get_event_by_id() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -284,6 +293,7 @@ async fn test_get_event_by_id() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_get_event_by_id_not_found() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -298,6 +308,7 @@ async fn test_get_event_by_id_not_found() {
|
||||
// ============================================================================
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_list_events_empty() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -307,6 +318,7 @@ async fn test_list_events_empty() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_list_events() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -345,6 +357,7 @@ async fn test_list_events() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_list_events_respects_limit() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -368,6 +381,7 @@ async fn test_list_events_respects_limit() {
|
||||
// ============================================================================
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_delete_event() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -396,6 +410,7 @@ async fn test_delete_event() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_delete_event_not_found() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -405,6 +420,7 @@ async fn test_delete_event_not_found() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_delete_event_enforcement_retains_event_id() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -480,6 +496,7 @@ async fn test_delete_event_enforcement_retains_event_id() {
|
||||
// ============================================================================
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_find_events_by_trigger() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -527,6 +544,7 @@ async fn test_find_events_by_trigger() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_find_events_by_trigger_ref() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -561,6 +579,7 @@ async fn test_find_events_by_trigger_ref() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_find_events_by_trigger_ref_preserves_after_trigger_deletion() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
@@ -602,6 +621,7 @@ async fn test_find_events_by_trigger_ref_preserves_after_trigger_deletion() {
|
||||
// ============================================================================
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore = "integration test — requires database"]
|
||||
async fn test_event_created_timestamp_auto_set() {
|
||||
let pool = create_test_pool().await.unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user