Test Failed
Push — zf3-version ( 8a740a...f2c5f0 )
by Diego
03:23
created

UtilsTest   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 41
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
wmc 5
lcom 0
cbo 3
dl 0
loc 41
rs 10
c 0
b 0
f 0

5 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 18 1
A testReturnSectorGas() 0 4 1
A testReturnSectorAno() 0 4 1
A testReturnSubactividadAno() 0 4 1
A testReturnCategoriaAno() 0 4 1
1
<?php
2
3
namespace ApiTest\Helper;
4
5
use Api\Helper\Utils;
6
use Zend\Stdlib\ArrayUtils;
7
use Zend\Test\PHPUnit\Controller\AbstractHttpControllerTestCase;
8
9
class UtilsTest extends AbstractHttpControllerTestCase
10
{
11
    public function setUp()
12
    {
13
        $configOverrides = [];
14
15
        $this->setApplicationConfig(ArrayUtils::merge(
16
            include __DIR__ . '/../../../../config/application.config.php',
17
            $configOverrides
18
        ));
19
20
        $services = $this->getApplicationServiceLocator();
21
        $config = $services->get('config');
22
        unset($config['db']);
23
        $services->setAllowOverride(true);
24
        $services->setService('config', $config);
25
        $services->setAllowOverride(false);
26
27
        parent::setUp();
28
    }
29
30
    public function testReturnSectorGas()
31
    {
32
33
    }
34
35
    public function testReturnSectorAno()
36
    {
37
38
    }
39
40
    public function testReturnSubactividadAno()
41
    {
42
43
    }
44
45
    public function testReturnCategoriaAno()
46
    {
47
48
    }    
49
}