Completed
Push — master ( 952e89...59c62b )
by Jeroen De
03:27
created

JsonScriptTest::getTestCaseLocation()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare( strict_types = 1 );
4
5
namespace ModernTimeline\Tests\System;
6
7
use SMW\Tests\Integration\JSONScript\JsonTestCaseScriptRunnerTest;
8
9
class JsonScriptTest extends JsonTestCaseScriptRunnerTest {
10
11
	public function setUp() {
12
		if ( version_compare( SMW_VERSION, '3.1c', '<' ) ) {
13
			$this->markTestSkipped( 'SMW version too old' );
14
		}
15
16
		parent::setUp();
17
	}
18
19
	protected function getTestCaseLocation() {
20
		return __DIR__ . '/JsonScript';
21
	}
22
23
}
24