diff options
author | Brad Jorsch <bjorsch@wikimedia.org> | 2015-04-20 14:58:55 -0400 |
---|---|---|
committer | Anomie <bjorsch@wikimedia.org> | 2015-09-17 13:51:45 +0000 |
commit | f9c1bfa594a8848ca3d845716929d34fde0a7155 (patch) | |
tree | be43b73ec1383b13c062eeff4d6f1991e2c8f693 /tests/phpunit/includes/api/ApiResultTest.php | |
parent | d737e5762438b72bd2b1ec10937555b32b664788 (diff) | |
download | mediawikicore-f9c1bfa594a8848ca3d845716929d34fde0a7155.tar.gz mediawikicore-f9c1bfa594a8848ca3d845716929d34fde0a7155.zip |
API: Finish killing "raw mode"
It was kept around in the ApiResult rewrite because Wikibase was
(mis)using it as an "XML mode" flag.
Bug: T96596
Change-Id: Ic8259649c8cb0cce0444c907607c36d96fb2eb7e
Diffstat (limited to 'tests/phpunit/includes/api/ApiResultTest.php')
-rw-r--r-- | tests/phpunit/includes/api/ApiResultTest.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/phpunit/includes/api/ApiResultTest.php b/tests/phpunit/includes/api/ApiResultTest.php index cff2328dc8e4..2f31677e700d 100644 --- a/tests/phpunit/includes/api/ApiResultTest.php +++ b/tests/phpunit/includes/api/ApiResultTest.php @@ -1321,17 +1321,6 @@ class ApiResultTest extends MediaWikiTestCase { ), '*' => 'content', ), $result->getData() ); - $result->setRawMode(); - $this->assertSame( array( - 'foo' => array( - 'bar' => array( - '*' => 'content', - ), - ), - '*' => 'content', - '_element' => 'itn', - '_subelements' => array( 'sub' ), - ), $result->getData() ); $arr = array(); ApiResult::setContent( $arr, 'value' ); |