Skip to content

Commit

Permalink
Update JsonTestCaseScriptRunnerTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox authored Dec 19, 2024
1 parent 5f4a704 commit da7add8
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,25 @@

namespace SD\Tests\Integration\JSONScript;

use MediaWiki\MediaWikiServices;
use SD\Services;
use SMW\Tests\Integration\JSONScript\JSONScriptTestCaseRunnerTest;

/**
* @group SD
* @group SMWExtension
* @group Database
*/
class JsonTestCaseScriptRunnerTest extends JSONScriptTestCaseRunnerTest {

// Experimenting
protected function setUp(): void {
parent::setUp();

// register the parser functions for each test
$parser = MediaWikiServices::getInstance()->getParser();
Services::onParserFirstCallInit( $parser );
}

protected function getTestCaseLocation() {
return __DIR__ . '/TestCases';
}
Expand Down

0 comments on commit da7add8

Please sign in to comment.