Skip to content

Commit c395b4c

Browse files
Add second required wp_cli_test_scaffold database to source of truth
Because all packages are scaffolded from this copy of `bin/install-package-tests.sh`, the database creation definition needs to be included in this bash script.
1 parent ba712c1 commit c395b4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/install-package-tests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set -ex
55
install_db() {
66
mysql -e 'CREATE DATABASE IF NOT EXISTS wp_cli_test;' -uroot
77
mysql -e 'GRANT ALL PRIVILEGES ON wp_cli_test.* TO "wp_cli_test"@"localhost" IDENTIFIED BY "password1"' -uroot
8+
mysql -e 'GRANT ALL PRIVILEGES ON wp_cli_test_scaffold.* TO "wp_cli_test"@"localhost" IDENTIFIED BY "password1"' -uroot
89
}
910

1011
install_db

0 commit comments

Comments
 (0)