Completed
Pull Request — master (#105)
by Nic
12:46
created

FlexSliderTest   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 8 1
1
<?php
2
3
namespace Dynamic\FlexSlider\Test;
4
5
use SilverStripe\Dev\FunctionalTest;
6
7
/**
8
 * Class FlexSliderTest
9
 * @package Dynamic\FlexSlider\Test
10
 */
11
class FlexSliderTest extends FunctionalTest
12
{
13
    protected static $fixture_file = 'flexslider/tests/FlexSliderTest.yml';
14
    protected static $disable_themes = true;
15
    protected static $use_draft_site = false;
16
17
    public function setUp()
18
    {
19
        parent::setUp();
20
21
        ini_set('display_errors', 1);
22
        ini_set('log_errors', 1);
23
        error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
24
    }
25
26
    public function logOut()
27
    {
28
        $this->session()->clear('loggedInAs');
29
        $this->session()->clear('logInWithPermission');
30
    }
31
32
    public function testFlexSlider()
33
    {
34
    }
35
}
36