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

SmokeTest::explosionProvider()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 10
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

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