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

Unit tests failures with forum subscriptions (MySQL and Oracle)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8
    • Component/s: Forum, Unit tests
    • Labels:

      Description

      I ran Unit Tests over MySQL and had this:

      7) mod_forum_mail_testcase::test_subscription_disabled
       
      Failed asserting that 2 matches expected 1.
       
       
       
      /home/fred/www/repositories/im_mysql/moodle/mod/forum/tests/mail_test.php:151
       
      /home/fred/www/repositories/im_mysql/moodle/mod/forum/tests/mail_test.php:231
       
      /home/fred/www/repositories/im_mysql/moodle/lib/phpunit/classes/advanced_testcase.php:80
       
       
       
      To re-run:
       
       vendor/bin/phpunit mod_forum_mail_testcase mod/forum/tests/mail_test.php
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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