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

SmokeTest::testFunctionalTests()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 2
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