Completed
Push — master ( 3c1c4b...9c0788 )
by Michael
13:17 queued 10:01
created

SmokeTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A testFunctionalTests() 0 5 1
A explosionProvider() 0 8 1
1
<?php
2
3
namespace Tests\AppBundle\Controller;
4
5
class SmokeTest extends BootstrapTestSuite
6
{
7
    /**
8
     * @dataProvider explosionProvider
9
     */
10
    public function testFunctionalTests($path, $status = 200)
11
    {
12
        $this->setupTest($path);
13
        $this->globalTests($status);
14
    }
15
16
    public function explosionProvider()
17
    {
18
        return array(
19
            array('/'),
20
            array('/users'),
21
            array('/users/', 301),
22
        );
23
    }
24
}
25