Skip to content

Commit 2ba6443

Browse files
committed
Update unit test
1 parent 2f6b33f commit 2ba6443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tests/TestBehatTags.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ public function test_behat_tags_skip_db_type(): void {
420420
}
421421

422422
$expected = '--tags=' . implode( '&&', array_merge( array( '~@github-api', '~@broken' ), $expecteds ) );
423-
$output = exec( "cd {$this->temp_dir}; php $behat_tags" );
423+
$output = $this->run_behat_tags_script();
424424
$this->assertSame( $expected, $output );
425425

426426
putenv( false === $env_github_token ? 'GITHUB_TOKEN' : "GITHUB_TOKEN=$env_github_token" );

0 commit comments

Comments
 (0)