diff --git a/tests/cli/Commands/WorkflowCest.php b/tests/cli/Commands/WorkflowCest.php index 8a7124c..5f9357a 100644 --- a/tests/cli/Commands/WorkflowCest.php +++ b/tests/cli/Commands/WorkflowCest.php @@ -181,7 +181,7 @@ public function it_should_pass_additional_arguments_and_options_to_workflow_scri $puprc['workflows']['test-workflow'][] = codecept_data_dir( 'test-workflow-script.sh' ); $this->write_puprc( $puprc ); - chdir( $this->tests_root . '/_data/fake-project' ); + chdir( codecept_data_dir( 'fake-project' ) ); $I->runShellCommand( "php {$this->pup} do test-workflow -- arg1 arg2 --option-one=one --option-two=two" ); $I->seeResultCodeIs( 0 );