(
env: &PocketIc,
user_id: Principal,
station_canister_id: CanisterId,
)
| 352 | } |
| 353 | |
| 354 | pub fn get_system_info( |
| 355 | env: &PocketIc, |
| 356 | user_id: Principal, |
| 357 | station_canister_id: CanisterId, |
| 358 | ) -> SystemInfoDTO { |
| 359 | await_station_healthy(env, station_canister_id, user_id); |
| 360 | let res: (ApiResult<SystemInfoResponse>,) = |
| 361 | update_candid_as(env, station_canister_id, user_id, "system_info", ()).unwrap(); |
| 362 | res.0.unwrap().system |
| 363 | } |
| 364 | |
| 365 | pub fn add_user( |
| 366 | env: &PocketIc, |