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 "resourceloader: Ignore warnings in JSMinPlus parser"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
BlockTest.php
diff --git
a/tests/phpunit/includes/BlockTest.php
b/tests/phpunit/includes/BlockTest.php
index
e4dce12
..
a151080
100644
(file)
--- a/
tests/phpunit/includes/BlockTest.php
+++ b/
tests/phpunit/includes/BlockTest.php
@@
-745,4
+745,12
@@
class BlockTest extends MediaWikiLangTestCase {
$block->delete();
}
+ /**
+ * @covers Block::prevents
+ */
+ public function testBlockAllowsPurge() {
+ $block = new Block();
+ $this->assertFalse( $block->prevents( 'purge' ) );
+ }
+
}