Skip to content

Using TEST_DB where it should be TEST_USER #146

@raulillana

Description

@raulillana

Howdy @schlessera!

As we talked yesterday, I'm submitting the bug we found during the #WCEU2022ContributorDay.

It's located in vendor/wp-cli/wp-cli-tests/bin/install-package-tests in Line #54.

mysql -e "CREATE USER IF NOT EXISTS \${TEST_DB}`@'%' IDENTIFIED WITH mysql_native_password BY '${TEST_PASSWORD}'" ${HOST_STRING} -u"${USER}" "${PASSWORD_STRING}"`

Should be:

mysql -e "CREATE USER IF NOT EXISTS \${TEST_USER}`@'%' IDENTIFIED WITH mysql_native_password BY '${TEST_PASSWORD}'" ${HOST_STRING} -u"${USER}" "${PASSWORD_STRING}"`

Will send a PR for this ASAP.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions