Closed mwei0210 closed 10 months ago
Thanks @mwei0210 for taking the time to report an issue. This is likely related to the database name not passing the validation for safe names, what is the database name? If you cannot provide the real database name, could you provide an anonymized version of it I could test with. To immediately solve the issue, you can just use a database name that passes the current validation logic.
I tried passing the dbName into the regex, it returned true
The db name is my_dbname_n8h96prxar4r
Environment Environment OS: Linux PHP version: 8.0.30 Installed Codeception version: 5.0.12 Installed wp-browser version: 4.0.10 WordPress version: 6.3.2 Local development environment: Nginx WordPress structure and management: default
Can you perform the test manually? N/A
Codeception configuration file
Suite configuration file Paste, in a fenced YAML block, the content of the suite configuration file; remove any sensitive data!
Describe the bug Got the error when trying to add WPLoader into the suite config
If i try to add
var_dump
inWPLoader.php
like below, I can see the dbName in config:Output
To Reproduce
vendor/bin/codecept run acceptance -d
Expected behavior Run the test suite loading WPLoader
Screenshots