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

Replace the usage of $this->assertFail to $this->fail in Moodle.

    Details

    • Testing Instructions:
      Hide
      1. Run the following PHPUnit tests.
        1. phpunit lib/tests/moodlelib_test.php
        2. phpunit lib/dml/tests/dml_test.php
      2. Do a grep of the Moodle code for the term "assertFail" and ensure you get no results.
      Show
      Run the following PHPUnit tests. phpunit lib/tests/moodlelib_test.php phpunit lib/dml/tests/dml_test.php Do a grep of the Moodle code for the term "assertFail" and ensure you get no results.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      MDL-37854_master

      Description

      The function assertFail does not exist, this is supposed to be the function fail.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/Mar/13