Completed
Push — master ( 6de1d2...91f557 )
by Benjamin
02:24
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
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