Completed
Push — MediaWikiFileUrlFinderTest ( d58bee...394f02 )
by Jeroen De
08:48
created

InitializationTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 10
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testVersionConstantIsDefined() 0 6 1
1
<?php
2
3
namespace Maps\Tests\Integration;
4
5
use PHPUnit\Framework\TestCase;
6
7
/**
8
 * @licence GNU GPL v2+
9
 * @author Jeroen De Dauw < [email protected] >
10
 */
11
class InitializationTest extends TestCase {
12
13
	public function testVersionConstantIsDefined() {
14
		$this->assertInternalType( 'string', Maps_VERSION );
15
		$this->assertInternalType( 'string', SM_VERSION );
16
		$this->assertSame( Maps_VERSION, SM_VERSION );
17
		$this->assertNotEmpty( Maps_VERSION );
18
	}
19
20
}
21