create_test_execution_context

Function create_test_execution_context 

Source
pub fn create_test_execution_context() -> ExecutionContext
Expand description

Create a test execution context with the given workflow ID

ยงExample

use oxify_model::test_utils::create_test_execution_context;

let context = create_test_execution_context();
assert_eq!(context.state, oxify_model::ExecutionState::Running);