Skip to content

Commit

Permalink
Update tests referencing env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
aaemnnosttv committed Jul 22, 2024
1 parent 61b4db5 commit c9ce59b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/valet-new-project-bedrock.feature
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Feature: It can create new installs for Valet-supported WordPress projects.
"""
DB_PREFIX='foo'
"""
And I run `wp eval 'echo getenv("DB_PREFIX");' --path={PATH}/{PROJECT}/web/wp/`
And I run `wp eval 'echo $_SERVER["DB_PREFIX"];' --path={PATH}/{PROJECT}/web/wp/`
Then STDOUT should be:
"""
foo
Expand All @@ -70,7 +70,7 @@ Feature: It can create new installs for Valet-supported WordPress projects.
"""
DB_HOST='127.0.0.1'
"""
And I run `wp eval 'echo getenv("DB_HOST");' --path={PROJECT}/web/wp/`
And I run `wp eval 'echo $_SERVER["DB_HOST"];' --path={PROJECT}/web/wp/`
Then STDOUT should be:
"""
127.0.0.1
Expand Down

0 comments on commit c9ce59b

Please sign in to comment.