(
db_name: &str,
fail_on_exists: bool,
delete_on_drop: bool,
account_id: ActorEntityUuid,
)
| 403 | } |
| 404 | |
| 405 | pub fn setup( |
| 406 | db_name: &str, |
| 407 | fail_on_exists: bool, |
| 408 | delete_on_drop: bool, |
| 409 | account_id: ActorEntityUuid, |
| 410 | ) -> (Runtime, StoreWrapper) { |
| 411 | let runtime = Runtime::new().expect("could not create runtime"); |
| 412 | |
| 413 | let store_wrapper = runtime.block_on(StoreWrapper::new( |
| 414 | db_name, |
| 415 | fail_on_exists, |
| 416 | delete_on_drop, |
| 417 | account_id, |
| 418 | )); |
| 419 | (runtime, store_wrapper) |
| 420 | } |
no test coverage detected