From: jenkins-bot Date: Fri, 31 Aug 2018 12:44:54 +0000 (+0000) Subject: Merge "Minor cleanup in backup test cases" X-Git-Tag: 1.34.0-rc.0~4240 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=1415be543b8a1a3e2f47d4e46a48b34ce877983f;hp=a76baefe8e0d4ec90213d6a4d272c5268fbd7e9d;p=lhc%2Fweb%2Fwiklou.git Merge "Minor cleanup in backup test cases" --- diff --git a/tests/phpunit/maintenance/DumpTestCase.php b/tests/phpunit/maintenance/DumpTestCase.php index 9b90bfe671..4b7a7eb3d4 100644 --- a/tests/phpunit/maintenance/DumpTestCase.php +++ b/tests/phpunit/maintenance/DumpTestCase.php @@ -24,7 +24,7 @@ abstract class DumpTestCase extends MediaWikiLangTestCase { * exception and store it until we are in setUp and may finally rethrow * the exception without crashing the test suite. * - * @var Exception|null + * @var \Exception|null */ protected $exceptionFromAddDBData = null; diff --git a/tests/phpunit/maintenance/backupTextPassTest.php b/tests/phpunit/maintenance/backupTextPassTest.php index ad9bf3ea97..b8a60bec39 100644 --- a/tests/phpunit/maintenance/backupTextPassTest.php +++ b/tests/phpunit/maintenance/backupTextPassTest.php @@ -2,7 +2,9 @@ namespace MediaWiki\Tests\Maintenance; +use Exception; use MediaWikiLangTestCase; +use MWException; use TextContentHandler; use TextPassDumper; use Title;