FunctionalTestCase   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 4 1
1
<?php
2
3
namespace Overwatch\UserBundle\Tests\Base;
4
5
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
6
7
/**
8
 * BaseFunctionalTest
9
 * Extends Symfony's WebTestCase with custom logic. Uses ApiTestHelperTrait.
10
 * For use when we don't need the full fixture functionality of DatabaseAwareTestCase
11
 */
12
class FunctionalTestCase extends WebTestCase
13
{
14
    use ApiTestHelperTrait;
15
    
16
    protected $client = null;
17
18
    public function setUp()
19
    {
20
        $this->client = static::createClient();
21
    }
22
}
23