Skip to content

Commit

Permalink
Use codecept_data_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
defunctl committed Sep 9, 2024
1 parent ac78eb5 commit 6073114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cli/Commands/WorkflowCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 6073114

Please sign in to comment.