Remove notes about being destructive. We work properly on cloned tables now
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 6 Jul 2011 17:52:27 +0000 (17:52 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 6 Jul 2011 17:52:27 +0000 (17:52 +0000)
tests/phpunit/TODO
tests/phpunit/includes/ArticleTablesTest.php
tests/phpunit/includes/api/ApiBlockTest.php
tests/phpunit/includes/api/ApiTest.php
tests/phpunit/includes/api/ApiUploadTest.php
tests/phpunit/includes/api/ApiWatchTest.php

index 76f38c1..b2fa7fb 100644 (file)
@@ -1,9 +1,4 @@
 == Things To Do ==
-
-* DEFAULT TESTS NEED TO MADE NON-DESTRUCTIVE. Any destructive tests which alter the contents of the live wiki need to
-be protected with an explicit confirmation so people exploring their system don't accidentally destroy their main page
-or register user accounts with default passwords.
-
 * Most of the tests are named poorly; naming should describe a use case in story-like language, not simply identify the
 unit under test. An example would be the difference between testCalculate and testAddingIntegersTogetherWorks.
 * Many of the tests make multiple assertions, and are thus not unitary tests. By using data-providers and more use-case
index 362cddf..01776c9 100644 (file)
@@ -2,7 +2,6 @@
 
 /**
  * @group Database
- * @group Destructive
  */
 class ArticleTablesTest extends MediaWikiLangTestCase {
 
index 325a30f..227555e 100644 (file)
@@ -2,7 +2,6 @@
 
 /**
  * @group Database
- * @group Destructive
  */
 class ApiBlockTest extends ApiTestCase {
 
index e2215ac..a587e6b 100644 (file)
@@ -2,7 +2,6 @@
 
 /**
  * @group Database
- * @group Destructive
  */
 class ApiTest extends ApiTestCase {
 
index 8ce6258..e2a3150 100644 (file)
@@ -2,7 +2,6 @@
 
 /**
  * @group Database
- * @group Destructive
  */
 
 /**
@@ -20,7 +19,6 @@ require_once( 'ApiTestCaseUpload.php' );
 
 /**
  * @group Database
- * @group Destructive
  *
  * This is pretty sucky... needs to be prettified.
  */
index 7fca538..3c7ff30 100644 (file)
@@ -2,7 +2,6 @@
 
 /**
  * @group Database
- * @group Destructive
  * @todo This test suite is severly broken and need a full review 
  */
 class ApiWatchTest extends ApiTestCase {