summaryrefslogtreecommitdiff
path: root/www/wiki/tests/phpunit/includes/content/JsonContentHandlerTest.php
blob: abfb6733a5850c8b9cc694672396b0f3dcd27e96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

class JsonContentHandlerTest extends MediaWikiTestCase {

	/**
	 * @covers JsonContentHandler::makeEmptyContent
	 */
	public function testMakeEmptyContent() {
		$handler = new JsonContentHandler();
		$content = $handler->makeEmptyContent();
		$this->assertInstanceOf( JsonContent::class, $content );
		$this->assertTrue( $content->isValid() );
	}
}