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

Unit test - failure to create tst_capabilities table

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.3, 2.1
    • Fix Version/s: 2.0.4, 2.1.1
    • Component/s: Unit tests
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Login as admin
      2. Site administration -> Development -> Unit tests
      3. Turn block editing on by clicking the button top right.
      4. Run tests on lib/simpletest/testblocklib_blockmanager.php
      5. Check everything passes
      Show
      Login as admin Site administration -> Development -> Unit tests Turn block editing on by clicking the button top right. Run tests on lib/simpletest/testblocklib_blockmanager.php Check everything passes
    • Workaround:
      Hide

      Make sure that the admin user is not editing a course page or any other page. When I logged in directly and went to run the unit tests I did not get any of these errors. Peace - Anthony

      Show
      Make sure that the admin user is not editing a course page or any other page. When I logged in directly and went to run the unit tests I did not get any of these errors. Peace - Anthony
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull Master Branch:
      wip-MDL-28137-master

      Description

      When running unit tests, I received a few exceptions because the tst_capabilities table was not found.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    1/Aug/11