Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6995

missing_record_exception during phpunit testing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.3.1
    • Component/s: Module: Pcast
    • Labels:
      None
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE

      Description

      core_calendar_container_testcase::test_delete_module_delete_events
      dml_missing_record_exception: Can not find data record in database table pcast. (SELECT * FROM

      {pcast}

      WHERE id = ? [array ( 0 => '547000' )])

      lib/dml/moodle_database.php:1533
      lib/dml/moodle_database.php:1509
      completion/classes/api.php:62
      mod/pcast/lib.php:285
      course/lib.php:1193
      calendar/tests/container_test.php:371
      lib/phpunit/classes/advanced_testcase.php:80

      vendor/bin/phpunit core_calendar_container_testcase calendar/tests/container_test.php

      Moodle 3.3.1+ (Build: 20170804)
      Php: 7.1.8.2.16.04.1.4, pgsql: 9.5.7
      PHPUnit 5.5.7

        Attachments

          Activity

            People

            Assignee:
            sbourget Stephen Bourget
            Reporter:
            rdebleu Renaat Debleu
            Participants:
            Component watchers:
            Stephen Bourget
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Jul/17