WikiPage tests @covers for doDeleteArticleReal & commitRollback
authoraddshore <addshorewiki@gmail.com>
Tue, 28 Nov 2017 13:41:07 +0000 (13:41 +0000)
committerAddshore <addshorewiki@gmail.com>
Mon, 4 Dec 2017 09:46:23 +0000 (09:46 +0000)
Bug: T180989
Change-Id: I70dcad9d527be4d91a88a14fe9787c53a7cf7d2f

tests/phpunit/includes/page/WikiPageDbTestBase.php

index 9de2bc9..5f192ba 100644 (file)
@@ -154,6 +154,7 @@ abstract class WikiPageDbTestBase extends MediaWikiLangTestCase {
 
        /**
         * @covers WikiPage::doDeleteArticle
+        * @covers WikiPage::doDeleteArticleReal
         */
        public function testDoDeleteArticle() {
                $page = $this->createPage(
@@ -762,6 +763,7 @@ more stuff
        /**
         * @todo FIXME: the above rollback test is better, but it keeps failing in jenkins for some reason.
         * @covers WikiPage::doRollback
+        * @covers WikiPage::commitRollback
         */
        public function testDoRollback() {
                $admin = $this->getTestSysop()->getUser();
@@ -812,6 +814,7 @@ more stuff
 
        /**
         * @covers WikiPage::doRollback
+        * @covers WikiPage::commitRollback
         */
        public function testDoRollbackFailureSameContent() {
                $admin = $this->getTestSysop()->getUser();