5 more tests to go
This commit is contained in:
@@ -157,8 +157,9 @@ async fn test_name_sanitization(#[future] pool: PgPool) {
|
||||
#[tokio::test]
|
||||
async fn test_create_minimal_table(#[future] pool: PgPool) {
|
||||
let pool = pool.await;
|
||||
let profile_name = "test_minimal";
|
||||
let req = PostTableDefinitionRequest {
|
||||
profile_name: "default".into(),
|
||||
profile_name: profile_name.into(),
|
||||
table_name: "minimal".into(),
|
||||
..Default::default()
|
||||
};
|
||||
@@ -168,7 +169,7 @@ async fn test_create_minimal_table(#[future] pool: PgPool) {
|
||||
assert!(resp.sql.contains("created_at TIMESTAMPTZ"));
|
||||
assert_table_structure_is_correct(
|
||||
&pool,
|
||||
"default", // FIXED: Added schema parameter
|
||||
profile_name,
|
||||
"minimal",
|
||||
&[
|
||||
("id", "bigint"),
|
||||
|
||||
Reference in New Issue
Block a user