Passed
Push — master ( 263251...9f1bf3 )
by
unknown
02:33
created

JsonScriptTest   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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