Unit Tests: Remove an unused parameter from Tests_Ajax_DimComment::test_with_bad_id()
.
Prevents a "too few arguments" error in PHP 7.1.0. Fixes #37271. git-svn-id: https://develop.svn.wordpress.org/trunk@37950 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8ae60fd26c
commit
f043ad7e02
@ -161,10 +161,9 @@ class Tests_Ajax_DimComment extends WP_Ajax_UnitTestCase {
|
||||
/**
|
||||
* Test with a bad id
|
||||
* Expects test to fail
|
||||
* @param mixed $comment Comment object
|
||||
* @return void
|
||||
*/
|
||||
public function test_with_bad_id( $comment ) {
|
||||
public function test_with_bad_id() {
|
||||
|
||||
// Reset request
|
||||
$this->_clear_post_action();
|
||||
|
Loading…
Reference in New Issue
Block a user