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

Final deprecation of phpunit/dbunit methods in advanced_testcase

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.10
    • Fix Version/s: None
    • Component/s: Unit tests
    • Labels:
      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

              Assignee:
              Unassigned Unassigned
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated: