Commit Graph

15 Commits

Author SHA1 Message Date
sam marshall 0c9cb1bc19 MDL-30266 completionlib fix unit test breakage (regression) 2011-11-15 14:05:20 +00:00
sam marshall a854bca3cf MDL-28021 Completion system can create inconsistent database rows
This change includes:

(1) update deletes older versions of inconsistent rows
(2) update drops one index and replaces it with a new unique index
(3) fixed to ensure that when it decides whether to insert or update
    it uses current database state and not cached info
(4) unit tests updated to test #3

Conflicts:

	lib/db/upgrade.php
	version.php
2011-06-27 15:25:13 +02:00
Sam Marshall 31fe61a22f Unit tests MDL-24975 Completion unit tests fix 2010-11-02 14:14:00 +00:00
Petr Skoda dd1a9e4cd4 completion is trying to modify current db, it should use test prefix, but no idea if it really works; at least this change should help prevent damage on production sites 2010-08-26 10:01:39 +00:00
David Mudrak e16f75bde3 Unit test did not preserve session 2010-03-21 19:44:57 +00:00
Petr Skoda 4454447d56 MDL-20700 whitespace terror returns 2009-12-16 22:14:17 +00:00
Sam Marshall 3d99b4ac2e MDL-21015 Completion lib unit test fix for FakeDBUnitTestCase (didn't need it) 2009-12-01 16:29:36 +00:00
Moodle HQ git importer 8926f8449f Fixing drift between CVS and git 2009-11-02 00:32:03 +00:00
stronk7 081a63a9eb MDL-19579 code coverage - add more initial $includecoverage attributes 2009-06-26 17:49:15 +00:00
skodak 58fa5d6f75 MDL-16483 - renamed MoodleUnitTestCase to FakeDBUnitTestCase; MDL-17841 removed bogus remove lib/simpletest/slowcodetest.php 2009-01-10 13:47:26 +00:00
skodak 542797b4e8 MDL-17767 loginas internals refactoring - code moved to sessionlib.php 2009-01-02 14:53:02 +00:00
sam_marshall 002f56ef79 MDL-17412: Completion system unit tests were broken 2008-11-26 13:59:24 +00:00
nicolasconnault b9c639d6c2 MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class. 2008-09-16 12:19:43 +00:00
sam_marshall 49f6e5f476 MDL-15498: Fixes to problems Petr identified with completion system checkin 2008-07-28 15:58:50 +00:00
sam_marshall 4e781c7b50 MDL-15498: Completion system 2008-07-28 12:31:29 +00:00