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

auth_db_testcase and enrol_database_testcase can't cope with custom DB drivers

    XMLWordPrintable

Details

    • MOODLE_27_STABLE
    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • Hide

      1. Run the unit tests with every supported DB.
      2. Also, make a new DB driver

      class my_crazy_db_driver extends pgsql_native_moodle_database {}
      

      and change your config.php to use it. Run the unit tests with that.

      Show
      1. Run the unit tests with every supported DB. 2. Also, make a new DB driver class my_crazy_db_driver extends pgsql_native_moodle_database {} and change your config.php to use it. Run the unit tests with that.

    Description

      They look at get_class($DB) when clearly they should use $DB->get_family()

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Ray Guo Ray Guo
              Dan Poltawski Dan Poltawski
              Frédéric Massart Frédéric Massart
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.