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

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

    XMLWordPrintable

Details

    • MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • MDL-56529-master
    • 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.

    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

              jpataleta Jun Pataleta
              rajeshtaneja Rajesh Taneja
              Rajesh Taneja Rajesh Taneja
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              CiBoT CiBoT
              Jake Dallimore, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5/Dec/16