Skip to content

Commit c26491e

Browse files
committed
Add require mysql to exclude sql lite
1 parent b27a45a commit c26491e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

features/config-create.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,11 @@ Feature: Create a wp-config file
243243
PasswordWith'SingleQuotes'
244244
"""
245245
246-
@require-mysql-5.7
246+
@require-mysql @require-mysql-5.7
247247
Scenario: Configure with required SSL connection
248248
Given an empty directory
249249
And WP files
250-
And I run `MYSQL_PWD='{DB_ROOT_PASSWORD}' MYSQL_HOST='{MYSQL_HOST}' MYSQL_TCP_PORT='{MYSQL_PORT}' mariadb || mysql -u root -e "CREATE USER IF NOT EXISTS 'wp_cli_test_ssl'@'%' IDENTIFIED BY 'password2' REQUIRE SSL;"`
250+
And I run `MYSQL_PWD='{DB_ROOT_PASSWORD}' MYSQL_HOST='{MYSQL_HOST}' MYSQL_TCP_PORT='{MYSQL_PORT}' mysql -u root -e "CREATE USER IF NOT EXISTS 'wp_cli_test_ssl'@'%' IDENTIFIED BY 'password2' REQUIRE SSL;"`
251251
252252
When I try `wp config create --dbhost=127.0.0.1 --dbname=wp_cli_test --dbuser=wp_cli_test_ssl --dbpass=password2 --ssl`
253253
Then the return code should be 0

0 commit comments

Comments
 (0)