AdminTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testTranschoiceWhenTranslationNotYetExtracted() 0 7 1
1
<?php
2
3
namespace Alpixel\Bundle\CMSBundle\Tests\Functional;
4
5
/**
6
 * @author Benjamin HUBERT <[email protected]>
7
 */
8
class AdminTest extends BaseTestCase
9
{
10
    public function testTranschoiceWhenTranslationNotYetExtracted()
11
    {
12
        $client = $this->createClient();
13
        $client->request('GET', '/admin/dashboard?_locale=en');
14
        $response = $client->getResponse();
15
        $this->assertEquals(200, $response->getStatusCode(), substr($response, 0, 2000));
16
    }
17
}
18