Completed
Push — jsonscript ( a31460 )
by Jeroen De
06:36
created

SemanticJsonScriptTest   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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 7 2
A getTestCaseLocation() 0 3 1
1
<?php
2
3
declare( strict_types = 1 );
4
5
namespace Maps\Tests\System;
6
7
use SMW\Tests\Integration\JSONScript\JsonTestCaseScriptRunnerTest;
8
9
class SemanticJsonScriptTest extends JsonTestCaseScriptRunnerTest {
10
11
	public function setUp() {
12
		if ( substr( SMW_VERSION, 0, 3 ) === '3.0' ) {
13
			$this->markTestSkipped( 'SMW version too old' );
14
		}
15
16
		parent::setUp();
17
	}
18
19
	protected function getTestCaseLocation() {
20
		return __DIR__ . '/SemanticJsonScript';
21
	}
22
23
}
24