Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12398

Prune shadow topics tests fail due to wrong forum_last_post_id

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev, 3.1.0-b2
    • Fix Version/s: 3.1.0-b3
    • Component/s: Test Suite
    • Labels:
      None

      Description

      The prune shadow topics functional tests fail due to this:

      phpbb_functional_prune_shadow_topic_test::test_create_post
      Forum 6 does not match expected after replying
      Failed asserting that two arrays are equal.
      --- Expected
      +++ Actual
      @@ @@
       Array (
      -    'forum_posts_approved' => 2
      -    'forum_posts_unapproved' => 0
      -    'forum_posts_softdeleted' => 0
      -    'forum_topics_approved' => 1
      -    'forum_topics_unapproved' => 0
      -    'forum_topics_softdeleted' => 0
      -    'forum_last_post_id' => 28
      +    'forum_posts_approved' => '2'
      +    'forum_posts_unapproved' => '0'
      +    'forum_posts_softdeleted' => '0'
      +    'forum_topics_approved' => '1'
      +    'forum_topics_unapproved' => '0'
      +    'forum_topics_softdeleted' => '0'
      +    'forum_last_post_id' => '29'
       )

      The forum_last_post_id seems to be incorrectly retrieved from the template.

        Attachments

          Activity

            People

            • Assignee:
              nickvergessen Joas Schilling
              Reporter:
              Marc Marc
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: