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

tests/extension/modules_test.php can not be run alone

    Details

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

      Description

      k-fish @ https://github.com/phpbb/phpbb/pull/2232 :

      In modules_test.php::test_modules_auth() , p_master::module_auth() calls the static module_auth function, but module_auth references phpbb_dispatcher, which may not have been instantiated. This causes Call to a member function trigger_event() on a non-object as mentioned in https://github.com/phpbb/phpbb/pull/1943

      Ran into this while running HHVM's test runner (which can run in parallel). Let me know if a more formal write-up is needed.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development