<?php
-class LicensesTest extends PHPUnit_Framework_TestCase {
+class LicensesTest extends MediaWikiTestCase {
function testLicenses() {
$str = "
'type' => 'select',
'section' => 'description',
'id' => 'wpLicense',
- 'label-message' => 'license',
+ 'label' => 'A label text', # Note can't test label-message because $wgOut is not defined
'name' => 'AnotherName',
'licenses' => $str,
) );