Skip to content

Commit 8e19518

Browse files
committed
fix(hooks): changed context to ScenarioContext for BEFORE/AFTER_STEP hook
1 parent b0a312c commit 8e19518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cucumber_cpp/library/engine/HookExecutor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ namespace cucumber_cpp::library::engine
6464
{}
6565

6666
HookExecutor::StepScope::StepScope(cucumber_cpp::library::engine::ContextManager& contextManager)
67-
: ScopedHook{ contextManager.StepContext(), stepHooks, contextManager.ScenarioContext().info.Tags() }
67+
: ScopedHook{ contextManager.ScenarioContext(), stepHooks, contextManager.ScenarioContext().info.Tags() }
6868
{}
6969

7070
HookExecutorImpl::HookExecutorImpl(cucumber_cpp::library::engine::ContextManager& contextManager)

0 commit comments

Comments
 (0)