From 7edadc1e78e91f239fe794aa3cfbb505e021eeac Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 28 Jun 2011 23:03:41 +0000 Subject: [PATCH] Remove superfluous NewDBTest, doesn't test anything afaict --- tests/phpunit/includes/NewDBTest.php | 38 ---------------------------- 1 file changed, 38 deletions(-) delete mode 100644 tests/phpunit/includes/NewDBTest.php diff --git a/tests/phpunit/includes/NewDBTest.php b/tests/phpunit/includes/NewDBTest.php deleted file mode 100644 index cea3bfd7c7..0000000000 --- a/tests/phpunit/includes/NewDBTest.php +++ /dev/null @@ -1,38 +0,0 @@ -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"); - - } - -} - -- 2.20.1