Skip to content

Commit 2bee06b

Browse files
committed
use getcwd
1 parent 339ab8d commit 2bee06b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎features/behat-steps.feature‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ Feature: Test that WP-CLI Behat steps work as expected
453453
Scenario: Test running command from subdirectory
454454
Given an empty directory
455455
And an empty testdir directory
456-
When I run `pwd` from 'testdir'
456+
When I run `php -r "echo getcwd();"` from 'testdir'
457457
Then STDOUT should contain:
458458
"""
459459
testdir
@@ -626,7 +626,7 @@ Feature: Test that WP-CLI Behat steps work as expected
626626
627627
Scenario: Test built-in variables
628628
Given an empty directory
629-
When I run `pwd`
629+
When I run `php -r "echo getcwd();"`
630630
Then STDOUT should contain:
631631
"""
632632
{RUN_DIR}

0 commit comments

Comments
 (0)