Fix name of SpecialListFilesTest > ImageListPagerTest
[mediawiki.git] / tests / phpunit / includes / specials / ImageListPagerTest.php
blob8a0ac970b776f0970cf68e9211d1a27a4ea00377
1 <?php
2 /**
3 * Test class for ImageListPagerTest class.
5 * Copyright © 2013, Antoine Musso
6 * Copyright © 2013, Siebrand Mazeland
7 * Copyright © 2013, Wikimedia Foundation Inc.
9 */
11 class ImageListPagerTest extends MediaWikiTestCase {
12 /**
13 * @expectedException MWException
14 * @expectedExceptionMessage invalid_field
15 * @covers ImageListPager::formatValue
17 public function testFormatValuesThrowException() {
18 $page = new ImageListPager( RequestContext::getMain() );
19 $page->formatValue( 'invalid_field', 'invalid_value' );