* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
-
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* @covers MediaWikiPageLinkRenderer
*
* @group Title
+ * @group Database
*/
class MediaWikiPageLinkRendererTest extends MediaWikiTestCase {
return $genderCache;
}
- public function provideGetPageUrl() {
+ public static function provideGetPageUrl() {
return array(
array(
new TitleValue( NS_MAIN, 'Foo_Bar' ),
$this->assertEquals( $url, $actual );
}
- public function provideRenderHtmlLink() {
+ public static function provideRenderHtmlLink() {
return array(
array(
new TitleValue( NS_MAIN, 'Foo_Bar' ),
$this->assertRegExp( $pattern, $actual );
}
- public function provideRenderWikitextLink() {
+ public static function provideRenderWikitextLink() {
return array(
array(
new TitleValue( NS_MAIN, 'Foo_Bar' ),