wp-cli / wp-cli-tests

WP-CLI testing framework
MIT License
38 stars 23 forks source link

SQLite: Support custom wp-content directory #188

Closed swissspidy closed 11 months ago

swissspidy commented 11 months ago

Some other commands' tests have tests using a custom wp-content directory. This change ensures those tests pass when running with SQLite.

Adds test coverage.

schlessera commented 11 months ago

@swissspidy Wouldn't it be more correct to actually activate the SQLite plugin instead? This way we wouldn't need custom hard-coded logic like the above, and we'd get any future extra steps for free. Is there a reason why we're not activating the plugin right now?

swissspidy commented 11 months ago

I thought about that, but: