From: daniel Date: Fri, 31 Aug 2018 04:30:22 +0000 (+1000) Subject: Minor cleanup in backup test cases X-Git-Tag: 1.34.0-rc.0~4240^2 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=1d341ab3cecfc3d3e92dcb3066dceafae294dc65;p=lhc%2Fweb%2Fwiklou.git Minor cleanup in backup test cases Change-Id: Iab2ad5a19b32cd32c2ea9c9dd0b589428056c86d --- 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;