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

Functional Test Framework should include functions.php

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.0-b2
    • Fix Version/s: 3.2.0-RC1
    • Component/s: Test Suite
    • Labels:
      None

      Description

      Functional tests run by extensions will fail if they have not already loaded functions.php themselves elsewhere in their suite.

      This is because when the functional test framework sets up functional testing, it needs functions.php available, because of this line in the new installer, calling get_preg_expression()
      https://github.com/phpbb/phpbb/blob/3.2.x/phpBB/phpbb/install/module/obtain_data/task/obtain_admin_data.php#L194

      We should probably require/include functions.php in the functional test framework by default, so the framework works again, as expected.

        Attachments

          Activity

            People

            • Assignee:
              nicofuma nicofuma
              Reporter:
              VSE Matt Friedman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: