Merge "Make MessageCache use the immutable text cache during cache rebuilds"
[lhc/web/wiklou.git] / tests / phpunit / includes / specials / SpecialRecentchangesTest.php
1 <?php
2
3 /**
4 * Test class for SpecialRecentchanges class
5 *
6 * @group Database
7 *
8 * @covers SpecialRecentChanges
9 */
10 class SpecialRecentchangesTest extends AbstractChangesListSpecialPageTestCase {
11 protected function setUp() {
12 parent::setUp();
13
14 # setup the CLSP object
15 $this->changesListSpecialPage = TestingAccessWrapper::newFromObject(
16 new SpecialRecentchanges
17 );
18 }
19
20 public function provideParseParameters() {
21 return [
22 [ 'limit=123', [ 'limit' => '123' ] ],
23
24 [ '234', [ 'limit' => '234' ] ],
25
26 [ 'days=3', [ 'days' => '3' ] ],
27
28 [ 'namespace=5', [ 'namespace' => 5 ] ],
29
30 [ 'tagfilter=foo', [ 'tagfilter' => 'foo' ] ],
31 ];
32 }
33 }