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

Final deprecation of phpunit/dbunit methods in advanced_testcase

    XMLWordPrintable

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.10
    • None
    • Unit tests
    • None

    Description

      Part of MDL-67673 and MDL-64600, phpunit/dbunit was removed from core (because it was not available anymore). That implied removing some advanced_testcase methods using it and switching to our own phpunit_dataset class.

      The methods to be completely removed here are:

      • createXMLDataSet()
      • createCsvDataSet()
      • createArrayDataSet()
      • loadDataSet()

      and, also, the associated unit tests covering the current deprecation debugging.

      In lib/upgrade.txt you can find information about the deprecation replacements.

      At the end, there shouldn't be any occurrence of any of the above in core (or "DBUnit" / "dbunit" in general).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stronk7 Eloy Lafuente (stronk7)
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: