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