Completed
Pull Request — master (#287)
by Nic
07:49
created

FS_Test   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 44
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 8 1
A logOut() 0 4 1
A testFoxyStripeProduct() 0 3 1
1
<?php
2
3
/**
4
 * Class FS_Test
5
 */
6
class FS_Test extends FunctionalTest
7
{
8
9
    /**
10
     * @var string
11
     */
12
    protected static $fixture_file = 'foxystripe/tests/FoxyStripeTest.yml';
13
    /**
14
     * @var bool
15
     */
16
    protected static $disable_themes = true;
17
    /**
18
     * @var bool
19
     */
20
    protected static $use_draft_site = false;
21
22
    /**
23
     *
24
     */
25
    public function setUp()
26
    {
27
        parent::setUp();
28
29
        ini_set('display_errors', 1);
30
        ini_set("log_errors", 1);
31
        error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
32
    }
33
34
    /**
35
     *
36
     */
37
    public function logOut()
38
    {
39
        $this->session()->clear('loggedInAs');
40
    }
41
42
    /**
43
     *
44
     */
45
    public function testFoxyStripeProduct()
46
    {
47
    }
48
49
}
50