Completed
Push — master ( b9b0af...b944a3 )
by mw
279:13 queued 244:18
created

FormHelperTest::testGetQueryForm()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 7
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
namespace SMW\Tests\MediaWiki\Specials\Browse;
4
5
use SMW\MediaWiki\Specials\Browse\FormHelper;
6
7
/**
8
 * @covers \SMW\MediaWiki\Specials\Browse\FormHelper
9
 * @group semantic-mediawiki
10
 *
11
 * @license GNU GPL v2+
12
 * @since 2.5
13
 *
14
 * @author mwjames
15
 */
16
class FormHelperTest extends \PHPUnit_Framework_TestCase {
17
18
	public function testGetQueryForm() {
19
20
		$this->assertInternalType(
21
			'string',
22
			FormHelper::getQueryForm( 'Foo' )
23
		);
24
	}
25
26
	public function testCreateLink() {
27
28
		$parameters = array();
29
30
		$this->assertInternalType(
31
			'string',
32
			FormHelper::createLink( 'Foo', $parameters )
33
		);
34
	}
35
36
}
37