mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
The test `Tests_Comment_CheckComment::test_should_return_true_when_content_does_not_match_moderation_keys()` did not, in fact, test for a `true` value, but for a false one. Switching to `assertTrue()` caused a failure, because the test comment triggered the 'comment_moderation' test. As in other tests in the file, the solution is to force 'comment_moderation' to 0 for the purposes of the test. Introduced in [32519]. Props stephdau. Fixes #40584. git-svn-id: https://develop.svn.wordpress.org/trunk@40557 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| src | ||
| tests | ||
| tools/i18n | ||
| .editorconfig | ||
| .gitignore | ||
| .jshintrc | ||
| .travis.yml | ||
| Gruntfile.js | ||
| package.json | ||
| phpunit.xml.dist | ||
| wp-cli.yml | ||
| wp-config-sample.php | ||
| wp-tests-config-sample.php | ||