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

Undefined index in extension tests

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: Test Suite
    • Labels:
      None

      Description

      PHPBB3-10586 added a reference to phpbb_functional_path in the $config array, which was never created. It appears that this functionality was moved into ticket PHPBB3-10706 (which was denied), but not all of it was removed from 10586's pull request, so it was merged in. In /tests/functional/extension_controller_test.php, the tearDownAfterClass() function should just be removed, as it's not doing anything excepting reassigning phpbb_root_path to this non-existent variable.

        Activity

        Hide
        imkingdavid David King added a comment -

        Good catch, looks like I missed that. I'll take care of this tomorrow or on Monday.

        Show
        imkingdavid David King added a comment - Good catch, looks like I missed that. I'll take care of this tomorrow or on Monday.

          People

          • Assignee:
            imkingdavid David King
            Reporter:
            Noxwizard Patrick Webster
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development