dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "ResourceLoaderStartUpModule: Use hashMtime to detect config changes"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
exception
/
BadTitleErrorTest.php
diff --git
a/tests/phpunit/includes/exception/BadTitleErrorTest.php
b/tests/phpunit/includes/exception/BadTitleErrorTest.php
index
6f9804d
..
003efd2
100644
(file)
--- a/
tests/phpunit/includes/exception/BadTitleErrorTest.php
+++ b/
tests/phpunit/includes/exception/BadTitleErrorTest.php
@@
-22,10
+22,9
@@
class BadTitleErrorTest extends MediaWikiTestCase {
public function testExceptionSetsStatusCode() {
global $wgOut;
$wgOut = $this->getMockWgOut();
- try{
+ try
{
throw new BadTitleError();
- }
- catch( BadTitleError $e ) {
+ } catch ( BadTitleError $e ) {
$e->report();
$this->assertTrue( true );
}