()
| 47 | |
| 48 | #[test] |
| 49 | fn test_drop_schema_basic() { |
| 50 | let fixture = get_shared_fixture(); |
| 51 | |
| 52 | let test_schema = "drop_test_schema"; |
| 53 | |
| 54 | // Test DROP SCHEMA on existing schema - should succeed |
| 55 | fixture.assert_query_succeeds(&format!("CREATE SCHEMA IF NOT EXISTS {}", test_schema)); |
| 56 | |
| 57 | fixture.assert_query_succeeds(&format!("DROP SCHEMA {}", test_schema)); |
| 58 | |
| 59 | // Test DROP SCHEMA on non-existent schema - should fail |
| 60 | fixture.assert_query_fails("DROP SCHEMA nonexistent_schema", "not found"); |
| 61 | } |
| 62 | |
| 63 | #[test] |
| 64 | fn test_drop_schema_if_exists() { |
nothing calls this directly
no test coverage detected