Skip to:
Content

bbPress.org

Changeset 5872


Ignore:
Timestamp:
07/20/2015 01:46:52 PM (8 years ago)
Author:
netweb
Message:

Tests: Include bbp_get_forum_last_reply_id() assertions in test_bbp_get_forum_and_topic_last_topic_id_and_last_reply_id() missed in r5844

See #2806

File:
1 edited

Legend:

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

    r5871 r5872  
    415415        $this->assertSame( 0, bbp_get_forum_last_topic_id( $f ) );
    416416
     417        // Get the forums last reply id _bbp_last_reply_id
     418        $this->assertSame( 0, bbp_get_forum_last_reply_id( $f ) );
     419
    417420        $t = $this->factory->topic->create( array(
    418421            'post_parent' => $f,
     
    437440        ) );
    438441
     442        // Get the forums last reply id _bbp_last_reply_id
     443        $this->assertSame( $r, bbp_get_forum_last_reply_id( $f ) );
     444
    439445        // Get the topics last reply id _bbp_last_reply_id
    440446        $this->assertSame( $r, bbp_get_topic_last_reply_id( $t ) );
Note: See TracChangeset for help on using the changeset viewer.