Thanks to visit codestin.com
Credit goes to github.com

Skip to content

SQLite Compatibility #167

@swissspidy

Description

@swissspidy

When I manually run the tests locally with SQLite, the following scenario is failing:

001 Scenario: No wp-config.php  # features/config-create.feature:3
When I run `wp db create` # features/config-create.feature:60
$ wp db create

ERROR 1007 (HY000) at line 1: Can't create database 'wp_cli_test'; database exists

The way the SQLite db is set up for the tests, the error message when trying to run wp db create makes sense.

Possible options:

  • See if this can be resolved via a change to the db command
  • Make this scenario MySQL-only and add another, SQLite-only scenario that doesn't have the wp db create step.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions