Make WordPress Core

Changeset 37950


Ignore:
Timestamp:
07/04/2016 07:07:21 PM (10 years ago)
Author:
ocean90
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/ajax/DimComment.php

    r35242 r37950  
    162162         * Test with a bad id
    163163         * Expects test to fail
    164          * @param mixed $comment Comment object
    165          * @return void
    166          */
    167         public function test_with_bad_id( $comment ) {
     164         * @return void
     165         */
     166        public function test_with_bad_id() {
    168167
    169168                // Reset request
Note: See TracChangeset for help on using the changeset viewer.