Function
submit_request_with_expected_trap
(
env: &PocketIc,
user_id: Principal,
station_canister_id: CanisterId,
request_operation_input: RequestOperationInput,
)
Source from the content-addressed store, hash-verified
| 245 | } |
| 246 | |
| 247 | pub fn submit_request_with_expected_trap( |
| 248 | env: &PocketIc, |
| 249 | user_id: Principal, |
| 250 | station_canister_id: CanisterId, |
| 251 | request_operation_input: RequestOperationInput, |
| 252 | ) -> String { |
| 253 | submit_request_raw(env, user_id, station_canister_id, request_operation_input) |
| 254 | .unwrap_err() |
| 255 | .reject_message |
| 256 | } |
| 257 | |
| 258 | pub fn wait_for_request( |
| 259 | env: &PocketIc, |