Skip to content

Commit 04fd1a2

Browse files
committed
try realpath to see if it helps
1 parent c20a32c commit 04fd1a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/tests/TestBehatTags.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public function test_behat_tags_extension(): void {
177177

178178
putenv( 'GITHUB_TOKEN' );
179179

180-
$behat_tags = dirname( dirname( __DIR__ ) ) . '/utils/behat-tags.php';
180+
$behat_tags = realpath( dirname( dirname( __DIR__ ) ) . '/utils/behat-tags.php' );
181181

182182
file_put_contents( $this->temp_dir . '/features/extension.feature', '@require-extension-imagick @require-extension-curl' );
183183

@@ -217,7 +217,7 @@ public function test_behat_tags_extension(): void {
217217
public function test_behat_tags_db_version(): void {
218218
$db_type = getenv( 'WP_CLI_TEST_DBTYPE' );
219219

220-
$behat_tags = dirname( dirname( __DIR__ ) ) . '/utils/behat-tags.php';
220+
$behat_tags = realpath( dirname( dirname( __DIR__ ) ) . '/utils/behat-tags.php' );
221221

222222
// Just to get the get_db_version() function.
223223
ob_start();

0 commit comments

Comments
 (0)