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

test_admin_setting_configexecutable unit test fail on linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 3.1
    • Unit tests
    • None
    • MOODLE_31_STABLE

      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
      

            dobedobedoh Andrew Lyons
            avimoto Avi Levy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.