Comments (3)
@aaemnnosttv I suppose we could add a defined( 'WP_CLI_ROOT' )
in the conditional? How'd you run into this in the first place?
from wp-cli-tests.
Hey @danielbachhuber 👋 I ran into this when running the tests for my login
command package. These had been there for a long time, it only seems to have started failing with the somewhat recent update to wp-cli.
Here is my shameful hack to workaround it for now 😄 aaemnnosttv/wp-cli-login-command@8d751f3
from wp-cli-tests.
I ran into this when running the tests for my
login
command package.
@aaemnnosttv Awesome, thanks for the context!
These had been there for a long time, it only seems to have started failing with the somewhat recent update to wp-cli.
Yep, it was caused by wp-cli/wp-cli#5672, which was an oversight. We can fix it with wp-cli/wp-cli#5697
from wp-cli-tests.
Related Issues (20)
- composer prepare-tests error
- Add spellchecking
- Improve run-behat-tests for custom setups
- Using TEST_DB where it should be TEST_USER HOT 1
- Run tests against Windows HOT 4
- WordPress.PHP.DisallowShortTernary has been removed in upstream development WordPress-Coding-Standards HOT 2
- Fix install-package-tests random build failures HOT 6
- Add linting for Behat feature files
- Indicate specific PHPCS issues in CI job
- Update to WPCS 3.0.0 HOT 8
- cp -r causes issues with symlinks on MacOS HOT 1
- Properly support `@require-wp-latest` HOT 4
- The built-in PHP webserver step background process is not always terminated HOT 1
- Abandoned dependencies HOT 4
- Documented install command fails HOT 2
- `WP_VERSION` should default to latest patch if not provided HOT 4
- Move WPCS to v2.2.0 HOT 4
- Failed installation, dependency conflicts from locked versions of other packages.
- Setup issue, native wp functions not found, inability to complete prepare-tests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-cli-tests.