aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/integration/includes/Rest/Handler/PageHTMLHandlerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/integration/includes/Rest/Handler/PageHTMLHandlerTest.php')
-rw-r--r--tests/phpunit/integration/includes/Rest/Handler/PageHTMLHandlerTest.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/phpunit/integration/includes/Rest/Handler/PageHTMLHandlerTest.php b/tests/phpunit/integration/includes/Rest/Handler/PageHTMLHandlerTest.php
index d66221ac4b13..f06d6b1c2f58 100644
--- a/tests/phpunit/integration/includes/Rest/Handler/PageHTMLHandlerTest.php
+++ b/tests/phpunit/integration/includes/Rest/Handler/PageHTMLHandlerTest.php
@@ -96,22 +96,6 @@ class PageHTMLHandlerTest extends MediaWikiIntegrationTestCase {
return $handler;
}
- public function testExecuteBare() {
- $page = $this->getExistingTestPage( 'Talk:HtmlEndpointTestPage/with/slashes' );
- $request = new RequestData(
- [ 'pathParams' => [ 'title' => $page->getTitle()->getPrefixedText() ] ]
- );
-
- $htmlUrl = 'https://wiki.example.com/rest/v1/page/Talk%3AHtmlEndpointTestPage%2Fwith%2Fslashes/html';
-
- $handler = $this->newHandler();
- $config = [ 'format' => 'bare' ];
- $data = $this->executeHandlerAndGetBodyData( $handler, $request, $config );
-
- $this->assertResponseData( $page, $data );
- $this->assertSame( $htmlUrl, $data['html_url'] );
- }
-
public function testExecuteWithHtml() {
$this->checkParsoidInstalled();
$page = $this->getExistingTestPage( 'HtmlEndpointTestPage/with/slashes' );