Skip to:
Content

bbPress.org


Ignore:
Timestamp:
10/27/2015 01:07:53 PM (6 years ago)
Author:
netweb
Message:

Tests: Updated bbPress PHPUnit test suite compatibility with upstream WordPress changes.

  • [WP35244] WP_UnitTest_Generator_Sequence needs a static incrementer - otherwise, it assumes every test class is a reset, which it no longer is (it is now static), updated bbPress unit tests where explicitly set content and titles are required.

Props thebrandonallen. Fixes #2883

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/forums/template/get-last-thing.php

    r5874 r5947  
    187187
    188188        $t = $this->factory->topic->create( array(
     189            'post_title' => 'Topic 1',
    189190            'post_parent' => $f,
    190191            'topic_meta' => array(
     
    340341
    341342        $this->factory->reply->create( array(
     343            'post_title' => 'Reply To: Topic 1',
    342344            'post_parent' => $t,
    343345            'reply_meta' => array(
Note: See TracChangeset for help on using the changeset viewer.