Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-23981

lib/simpletest/testnavigationlib.php unittests failing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Navigation
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Fail: lib/simpletest/testnavigationlib.php / ? navigation_node_test / ? test_find_expandable
      Equal expectation fails because [Integer: 4] differs from [Integer: 5] by 1 at [/Users/skodak/server/workspace/moodle20r/lib/simpletest/testnavigationlib.php line 168]
      Fail: lib/simpletest/testnavigationlib.php / ? global_navigation_test / ? test_load_generic_course_sections
      Equal expectation fails because [Integer: 0] differs from [Integer: 4] by 4 at [/Users/skodak/server/workspace/moodle20r/lib/simpletest/testnavigationlib.php line 336]
      Exception: lib/simpletest/testnavigationlib.php / ? navbar_test / ? test_add
      Unexpected exception of type [coding_exception] with message [Coding error detected, it must be fixed by a programmer: Invalid attempt to modify page object] in [/Users/skodak/server/workspace/moodle20r/lib/pagelib.php line 611]

      Debug info:

      Unknown property navigation

      • line 423 of /lib/simpletest/testnavigationlib.php: call to moodle_page->__set()
      • line ... of ...

      Exception: lib/simpletest/testnavigationlib.php / ? navbar_test / ? test_has_items
      Unexpected exception of type [coding_exception] with message [Coding error detected, it must be fixed by a programmer: Invalid attempt to modify page object] in [/Users/skodak/server/workspace/moodle20r/lib/pagelib.php line 611]

      Debug info:

      Unknown property navigation

      • line 423 of /lib/simpletest/testnavigationlib.php: call to moodle_page->__set()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                samhemelryk Sam Hemelryk
                Reporter:
                skodak Petr Skoda
                Tester:
                Nobody
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  24/Nov/10