wp-cli / cache-command

Manages object and transient caches.
MIT License
15 stars 25 forks source link

Fix failing tests #100

Closed ernilambar closed 3 months ago

ernilambar commented 3 months ago
ernilambar commented 3 months ago

Only SQLite tests are failing. May be due to https://github.com/wp-cli/wp-cli-tests/pull/214 ?

CC @swissspidy

swissspidy commented 3 months ago

@ernilambar They are known to fail, see #92

swissspidy commented 3 months ago

But the failing MySQL tests still need to be addressed, no? 🤔

ernilambar commented 3 months ago

wp config set DISABLE_WP_CRON true --raw was recently added and I have no understanding why it was added. I was testing whether that would fix the issue. After few digging I found that DISABLE_WP_CRON is defined in wp-cli-tests itself. So I am not sure what is the actual fix for the issue.

swissspidy commented 3 months ago

Seems like a mistake to me. Probably added because config-command was broken until yesterday. @schlessera can we revert that?