Make WordPress Core

Changeset 25660


Ignore:
Timestamp:
10/02/2013 07:46:58 PM (11 years ago)
Author:
wonderboymusic
Message:

Add a default value to WP_UnitTest_Factory_For_Comment::default_generation_definitions['comment_content'] to avoid a tornado of database errors in PHP 5.5/MySQL 5.6, even when WP_DEBUG is turned off.

See #25282.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/factory.php

    r25278 r25660  
    123123            'comment_author_url' => new WP_UnitTest_Generator_Sequence( 'http://example.com/%s/' ),
    124124            'comment_approved' => 1,
     125            'comment_content' => 'This is a comment'
    125126        );
    126127    }
Note: See TracChangeset for help on using the changeset viewer.