Completed
Push — master ( 82a6c1...9bf083 )
by Michael
04:55
created

SmokeTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 22
rs 10
c 0
b 0
f 0
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
            array('/poll'),
23
            array('/users/create'),
24
        );
25
    }
26
}
27