From 607311472f0c82c1970f70a92fcda90e7e9de4dc Mon Sep 17 00:00:00 2001 From: Justin Frydman Date: Mon, 9 Sep 2024 11:19:26 -0600 Subject: [PATCH] Use codecept_data_dir --- tests/cli/Commands/WorkflowCest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );