Skip to content

Commit

Permalink
Merge pull request #19 from studiopress/update/remove-test-password
Browse files Browse the repository at this point in the history
Remove the wptests password in wp-tests-config.php
  • Loading branch information
kienstra authored Aug 21, 2020
2 parents 8ba83e6 + ee7cbe3 commit 8a9b378
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
MYSQL_DATABASE: youremptytestdbnamehere
MYSQL_HOST: 127.0.0.1
MYSQL_USER: yourusernamehere
MYSQL_PASSWORD: yourpasswordhere
MYSQL_PASSWORD: <insert password here>
MYSQL_ROOT_PASSWORD: wordpress
steps:
- run:
Expand All @@ -67,6 +67,7 @@ jobs:
git clone git://develop.git.wordpress.org/ wordpress-develop
cp wordpress-develop/wp-tests-config-sample.php wordpress-develop/wp-tests-config.php
sed -i 's/localhost/127.0.0.1/g' wordpress-develop/wp-tests-config.php
sed -i 's/yourpasswordhere/<insert password here>/g' wordpress-develop/wp-tests-config.php
- run: mkdir -p *PLUGIN_PATH
- checkout:
path: *PLUGIN_PATH
Expand Down
2 changes: 1 addition & 1 deletion tests/wp-tests-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
define( 'DB_HOST', 'tests-mysql' );
define( 'DB_NAME', 'wptests' );
define( 'DB_USER', 'wptests' );
define( 'DB_PASSWORD', 'wptests' );
define( 'DB_PASSWORD', '<insert password here>' );

define( 'DB_CHARSET', 'utf8' );
define( 'DB_COLLATE', '' );
Expand Down

0 comments on commit 8a9b378

Please sign in to comment.