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

Unit test - failure to create tst_capabilities table

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.3, 2.1
    • 2.0.4, 2.1.1
    • Unit tests
    • None
    • MOODLE_20_STABLE, MOODLE_21_STABLE
    • MOODLE_20_STABLE, MOODLE_21_STABLE
    • wip-MDL-28137-master
    • 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
    • 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

    Description

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

      Attachments

        Issue Links

          Activity

            People

              samhemelryk Sam Hemelryk
              aborrow Anthony Borrow
              Petr Skoda Petr Skoda
              Petr Skoda Petr Skoda
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1/Aug/11