Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-12350

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.0-b3
    • 3.1.0-b2
    • Test Suite
    • None

      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.

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

              Created:
              Updated:
              Resolved: