more tests for the frontend
This commit is contained in:
@@ -1016,4 +1016,4 @@ async fn test_null_and_empty_values(#[future] form_test_context: FormTestContext
|
||||
}
|
||||
|
||||
include!("form_request_tests2.rs");
|
||||
// include!("form_request_tests3.rs");
|
||||
include!("form_request_tests3.rs");
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// form_request_tests3.rs - Comprehensive and Robust Testing
|
||||
use super::*;
|
||||
|
||||
// ========================================================================
|
||||
// STEEL SCRIPT VALIDATION TESTS (HIGHEST PRIORITY)
|
||||
@@ -612,7 +611,7 @@ async fn test_sql_injection_attempts(#[future] form_test_context: FormTestContex
|
||||
#[rstest]
|
||||
#[tokio::test]
|
||||
async fn test_concurrent_operations_with_same_data(#[future] form_test_context: FormTestContext) {
|
||||
let mut context = form_test_context.await;
|
||||
let context = form_test_context.await;
|
||||
skip_if_backend_unavailable!();
|
||||
|
||||
// Test multiple concurrent operations with identical data
|
||||
@@ -620,7 +619,7 @@ async fn test_concurrent_operations_with_same_data(#[future] form_test_context:
|
||||
let num_tasks = 10;
|
||||
|
||||
for i in 0..num_tasks {
|
||||
let context_clone = context.clone();
|
||||
let mut context_clone = context.clone();
|
||||
let handle = tokio::spawn(async move {
|
||||
let mut data = HashMap::new();
|
||||
data.insert("firma".to_string(), create_string_value("Concurrent Identical"));
|
||||
|
||||
Reference in New Issue
Block a user