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/topics/template/links.php

    r5914 r5947  
    5151        $f = $this->factory->forum->create();
    5252        $t = $this->factory->topic->create( array(
     53            'post_title' => 'Topic 1',
    5354            'post_parent' => $f,
    5455            'post_date' => $post_date,
     
    105106        $f = $this->factory->forum->create();
    106107        $t = $this->factory->topic->create( array(
     108            'post_title' => 'Topic 1',
    107109            'post_parent' => $f,
    108110            'post_date' => $post_date,
Note: See TracChangeset for help on using the changeset viewer.