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

LTI unit test fails on oracle.

    XMLWordPrintable

    Details

      Description

      damyonw@damyon:~/Documents/Moodle/instances/im_oracle/moodle$ ./vendor/bin/phpunit mod/lti/tests/upgradelib_test.php
      Moodle 2.8beta+ (Build: 20141017), oci, b1b66a3d1213e31392f81ba9821a55b84ccc335c
      PHPUnit 3.7.10 by Sebastian Bergmann.

      Configuration read from /home/damyonw/Documents/Moodle/instances/im_oracle/moodle/phpunit.xml

      F

      Time: 9 seconds, Memory: 73.50Mb

      There was 1 failure:

      1) mod_lti_upgradelib_testcase::test_custom_parameter
      Failed asserting that two strings are equal.
      — Expected
      +++ Actual
      @@ @@
      -'a=one;b=two;three=3'
      +'a=one
      +b=two
      +three=3'

      /home/damyonw/Documents/Moodle/instances/im_oracle/moodle/mod/lti/tests/upgradelib_test.php:78
      /home/damyonw/Documents/Moodle/instances/im_oracle/moodle/lib/phpunit/classes/advanced_testcase.php:80

      To re-run:
      ./vendor/bin/phpunit mod_lti_upgradelib_testcase mod/lti/tests/upgradelib_test.php

      FAILURES!
      Tests: 1, Assertions: 1, Failures: 1.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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