Passed
Push — develop ( 75cde4...c67611 )
by Remco
07:56
created

UtilTest::format_price_matrix_provider()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 8
nc 1
nop 0
dl 0
loc 9
rs 9.6666
c 0
b 0
f 0
1
<?php
0 ignored issues
show
Coding Style introduced by
This file is missing a doc comment.
Loading history...
2
3
namespace Pronamic\WordPress\Pay;
4
5
use stdClass;
6
use WP_UnitTestCase;
7
8
/**
9
 * Title: WordPress utility test
10
 * Description:
11
 * Copyright: Copyright (c) 2005 - 2016
12
 * Company: Pronamic
13
 *
14
 * @author Remco Tolsma
15
 * @version 1.0
16
 */
17
class UtilTest extends WP_UnitTestCase {
18
	public function test_to_string_boolean() {
0 ignored issues
show
Coding Style Documentation introduced by
Missing function doc comment
Loading history...
19
		$boolean = false;
20
21
		$result = Util::boolean_to_string( $boolean );
22
23
		$this->assertEquals( 'false', $result );
24
	}
25
}
26