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

Unit test failure on mssql enrol/lti/tests/tool_provider_test.php

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      PHPUnit
      1. Run PHPUnit for enrol_lti on MySQL, Maria DB, PostgreSQL, MSSQL, and Oracle servers.

         vendor/bin/phpunit --testsuite enrol_lti_testsuite
        

        or if using MDK,

        mdk phpunit -r -s enrol_lti
        

        • Confirm that there are no errors nor failures.
      Show
      PHPUnit Run PHPUnit for enrol_lti on MySQL, Maria DB, PostgreSQL, MSSQL, and Oracle servers. vendor/bin/phpunit --testsuite enrol_lti_testsuite or if using MDK, mdk phpunit -r -s enrol_lti Confirm that there are no errors nor failures.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
      MDL-56529-master

      Description

      Following failure was observed on mssql

      1) tool_provider_testcase::test_constructor_with_non_existent_tool
      Failed asserting that exception of type "dml_exception" is thrown.
       
      /store/moodle/behat_whole_suite_m_phpunit/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit tool_provider_testcase enrol/lti/tests/tool_provider_test.php
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/Dec/16