Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
87f6ec8
commit d063510
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
declare( strict_types = 1 ); | ||
|
||
namespace ModernTimeline\Tests\System; | ||
|
||
use SMW\Tests\Integration\JSONScript\JsonTestCaseScriptRunnerTest; | ||
|
||
class JsonScriptTest extends JsonTestCaseScriptRunnerTest { | ||
|
||
protected function getTestCaseLocation() { | ||
return __DIR__ . '/JsonScript'; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
declare( strict_types = 1 ); | ||
|
||
if ( PHP_SAPI !== 'cli' ) { | ||
die( 'Not an entry point' ); | ||
} | ||
|
||
error_reporting( -1 ); | ||
ini_set( 'display_errors', '1' ); | ||
|
||
if ( !is_readable( $autoloaderClassPath = __DIR__ . '/../../SemanticMediaWiki/tests/autoloader.php' ) ) { | ||
die( "\nThe Semantic MediaWiki test autoloader is not available" ); | ||
} | ||
|
||
require $autoloaderClassPath; | ||
|
||
$autoloader->addPsr4( 'SMW\\Tests\\', __DIR__ . '/../../SemanticMediaWiki/tests/phpunit' ); |