From 2e44b49a2db3026050b136de9b00f749dd3ff939 Mon Sep 17 00:00:00 2001
From: Pierre Schmitz <pierre@archlinux.de>
Date: Fri, 25 Apr 2014 06:26:49 +0200
Subject: Update to MediaWiki 1.22.6

---
 .../includes/api/format/ApiFormatTestBase.php      | 22 ----------------------
 1 file changed, 22 deletions(-)
 delete mode 100644 tests/phpunit/includes/api/format/ApiFormatTestBase.php

(limited to 'tests/phpunit/includes/api/format/ApiFormatTestBase.php')

diff --git a/tests/phpunit/includes/api/format/ApiFormatTestBase.php b/tests/phpunit/includes/api/format/ApiFormatTestBase.php
deleted file mode 100644
index 153f2cf4..00000000
--- a/tests/phpunit/includes/api/format/ApiFormatTestBase.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-abstract class ApiFormatTestBase extends ApiTestCase {
-	protected function apiRequest( $format, $params, $data = null ) {
-		$data = parent::doApiRequest( $params, $data, true );
-
-		$module = $data[3];
-
-		$printer = $module->createPrinterByName( $format );
-		$printer->setUnescapeAmps( false );
-
-		$printer->initPrinter( false );
-
-		ob_start();
-		$printer->execute();
-		$out = ob_get_clean();
-
-		$printer->closePrinter();
-
-		return $out;
-	}
-}
-- 
cgit v1.2.3-54-g00ecf