|
ORE Studio 0.0.4
|
Provides database setup and cleanup utilities for tests. More...
#include <database_helper.hpp>

Public Member Functions | |
| void | truncate_table (const std::string &table_name) |
| Truncates the specified table. | |
| void | seed_rbac () |
| Seeds minimal RBAC data for tests. | |
| database::context & | context () |
| Gets the database context. | |
Provides database setup and cleanup utilities for tests.
| void truncate_table | ( | const std::string & | table_name | ) |
Truncates the specified table.
| table_name | Fully qualified table name (e.g., "ores.accounts") |

| void seed_rbac | ( | ) |
Seeds minimal RBAC data for tests.
Creates the essential permissions and roles needed for IAM tests:
This is idempotent - safe to call multiple times.
