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

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

    XMLWordPrintable

    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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markn Mark Nelson
              Reporter:
              markn Mark Nelson
              Peer reviewer:
              Adrian Greeve
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Frédéric Massart
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

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