testRegisterSocialNet()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 7
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: device
5
 * Date: 18.03.16
6
 * Time: 17:58
7
 */
8
9
namespace AppBundle\Tests\Controller;
10
11
12
use AppBundle\Tests\TestBaseWeb;
13
14
class RegistrationControllerTest extends TestBaseWeb
15
{
16
    public function testRegister()
17
    {
18
        $client = static::createClient();
19
20
        $client->request('GET', '/registration');
21
        $this->assertEquals(200, $client->getResponse()->getStatusCode());
22
    }
23
24
    public function testRegisterSocialNet()
25
    {
26
        $client = static::createClient();
27
28
        $client->request('GET', '/account/update-profile');
29
        $this->assertEquals(302, $client->getResponse()->getStatusCode());
30
    }
31
}
32