Completed
Pull Request — master (#27)
by Benjamin
16:41
created

testTranschoiceWhenTranslationNotYetExtracted()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 7
rs 9.4285
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
3
4
namespace Alpixel\Bundle\CMSBundle\Tests\Functional;
5
6
7
/**
8
 * @author Benjamin HUBERT <[email protected]>
9
 */
10
class AdminTest extends BaseTestCase
11
{
12
    public function testTranschoiceWhenTranslationNotYetExtracted()
13
    {
14
        $client = $this->createClient();
15
        $client->request('GET', '/admin/dashboard?_locale=en');
16
        $response = $client->getResponse();
17
        $this->assertEquals(200, $response->getStatusCode(), substr($response, 0, 2000));
18
    }
19
}