Remove superfluous NewDBTest, doesn't test anything afaict
authorChad Horohoe <demon@users.mediawiki.org>
Tue, 28 Jun 2011 23:03:41 +0000 (23:03 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Tue, 28 Jun 2011 23:03:41 +0000 (23:03 +0000)
tests/phpunit/includes/NewDBTest.php [deleted file]

diff --git a/tests/phpunit/includes/NewDBTest.php b/tests/phpunit/includes/NewDBTest.php
deleted file mode 100644 (file)
index cea3bfd..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-
-/**
- * @group Database
- */
-class NewDBTest extends MediaWikiTestCase {
-
-       function setUp() {
-       }
-
-       function tearDown() {
-       }
-       
-       function addDBData() {
-               
-               //Make a page
-               $article = new Article( Title::newFromText( 'Foobar' ) );
-               $article->doEdit( 'FoobarContent',
-                                                       '',
-                                                       EDIT_NEW,
-                                                       false,
-                                                       User::newFromName( 'UTSysop' ) );
-       }
-       
-       function testBootstrapCreation() {
-               
-               $article = new Article( Title::newFromText("UTPage") );
-               
-               $this->assertEquals("UTContent", $article->fetchContent(), "Automatic main page creation");
-               
-               $article = new Article( Title::newFromText("Foobar") );
-               
-               $this->assertEquals("FoobarContent", $article->fetchContent(), "addDBData() adds to the database");
-               
-       }
-
-}
-