wiki.techinc.nl/tests/phpunit/unit/includes/Html/HtmlJsCodeTest.php
Umherirrender 790ae736c1 tests: Move test cases from /includes/ into sub folder
Follow move of the tested class
Most moves are part of T321882

Change-Id: I74ab45d6a5331dcb2ff0b65dc2cc7c6315146646
2023-09-13 00:09:05 +02:00

18 lines
324 B
PHP

<?php
use MediaWiki\Html\HtmlJsCode;
/**
* @covers \MediaWiki\Html\HtmlJsCode
*/
class HtmlJsCodeTest extends MediaWikiUnitTestCase {
public function testConstruction() {
$obj = new HtmlJsCode( '' );
$this->assertSame( '', $obj->value );
$obj = new HtmlJsCode( null );
$this->assertNull( $obj->value );
}
}