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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.0-b2
    • 3.1.0-b3
    • Test Suite
    • 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.

      Attachments

        Activity

          People

            bantu Andreas Fischer [X] (Inactive)
            nickvergessen Joas Schilling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: