Passed
Push — master ( b4cb9f...51bac7 )
by Anthony
02:22
created

DefaultControllerTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testIndex() 0 7 1
1
<?php
2
3
namespace PiouPiou\RibsAdminBundle\Tests\Controller;
4
5
use Symfony\Bundle\RibsAdminBundle\Test\WebTestCase;
6
7
class DefaultControllerTest extends WebTestCase
8
{
9
    public function testIndex()
10
    {
11
        $client = static::createClient();
12
13
        $crawler = $client->request('GET', '/');
0 ignored issues
show
Unused Code introduced by
The assignment to $crawler is dead and can be removed.
Loading history...
14
15
        $this->assertContains('Hello World', $client->getResponse()->getContent());
16
    }
17
}
18