Completed
Push — master ( 952e89...59c62b )
by Jeroen De
03:27
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

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 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