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:
Dominik Schilling 2016-07-04 19:07:21 +00:00
parent 8ae60fd26c
commit f043ad7e02
1 changed files with 1 additions and 2 deletions

View File

@ -161,10 +161,9 @@ class Tests_Ajax_DimComment extends WP_Ajax_UnitTestCase {
/** /**
* Test with a bad id * Test with a bad id
* Expects test to fail * Expects test to fail
* @param mixed $comment Comment object
* @return void * @return void
*/ */
public function test_with_bad_id( $comment ) { public function test_with_bad_id() {
// Reset request // Reset request
$this->_clear_post_action(); $this->_clear_post_action();