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

test_admin_setting_configexecutable unit test fail on linux

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Unit tests
    • Labels:
      None
    • Affected Branches:
      MOODLE_31_STABLE

      Description

      The unit test end with the next fail:

      1) core_admintree_testcase::test_admin_setting_configexecutable
      Failed asserting that '
      <div class="form-item clearfix" id="admin-test1">
        <div class="form-label">
          <label for = "id_s__test1">Text 1</label>
          <span class="form-shortname">test1</span>
        </div>
        <div class="form-setting"><div class="form-file defaultsnext"><input  type="text" size="50" id="id_s__test1" name="s__test1" value="/home/avi/workspaces/PHP/moodle_integration/filter/tex/mimetex.darwin" /><span class="patherror">&#x2718;</span></div><div class="form-defaultinfo">Default: Empty</div></div>
        <div class="form-description"><p>Help Path</p>
      </div>
      </div>' matches PCRE pattern "/class="pathok"/".
      

      to repreduce the issue run the command below on linux OS.

      vendor/bin/phpunit core_admintree_testcase lib/tests/admintree_test.php
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Nicols
              Reporter:
              avimoto Avi Levy
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: