Passed
Push — master ( 43c003...f5456e )
by Gaetano
07:42
created

ExtraTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 14
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A testVerifyCompat() 0 3 1
A set_up() 0 7 1
1
<?php
2
3
include_once __DIR__ . '/LocalFileTestCase.php';
4
5
/**
6
 * Tests for php files in the 'extras' directory
7
 */
8
class ExtraTest extends PhpXmlRpc_LocalFileTestCase
9
{
10
    public function set_up()
11
    {
12
        $this->args = argParser::getArgs();
13
14
        $this->baseUrl = $this->args['LOCALSERVER'] . str_replace( '/demo/server/server.php', '/tests/', $this->args['URI'] );
15
16
        $this->coverageScriptUrl = 'http://' . $this->args['LOCALSERVER'] . '/' . str_replace( '/demo/server/server.php', 'tests/phpunit_coverage.php', $this->args['URI'] );
17
    }
18
19
    public function testVerifyCompat()
20
    {
21
        $page = $this->request('verify_compat.php');
0 ignored issues
show
Unused Code introduced by
The assignment to $page is dead and can be removed.
Loading history...
22
    }
23
}
24