GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

itShouldHaveAHelper()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/**
4
 * @category    Zookal_Mock
5
 * @package     Helper
6
 * @author      Cyrill Schumacher | {firstName}@{lastName}.fm | @SchumacherFM
7
 * @copyright   Copyright (c) Zookal Pty Ltd
8
 * @license     OSL - Open Software Licence 3.0 | http://opensource.org/licenses/osl-3.0.php
9
 */
10
class Zookal_Mock_Test_Config_ConfigTest extends EcomDev_PHPUnit_Test_Case_Config
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
11
{
12
    /**
13
     * @test
14
     */
15
    public function itShouldHaveASetupResource()
16
    {
17
        $this->assertModuleVersionGreaterThanOrEquals('1.0.0');
18
    }
19
20
    /**
21
     * @test
22
     */
23
    public function itShouldHaveAHelper()
24
    {
25
        $this->assertHelperAlias('zookal_mock', 'Zookal_Mock_Helper_Data');
26
    }
27
28
    /**
29
     * @test
30
     */
31
    public function itShouldHaveAConfigModel()
32
    {
33
        $configModel = Mage::getModel('zookal_mock/config');
34
        $this->assertInstanceOf('Mage_Core_Model_Config', $configModel);
35
    }
36
37
    /**
38
     * @test
39
     */
40
    public function itShouldHaveAControllerFrontInitBeforeObserver()
41
    {
42
        $this->assertEventObserverDefined(
43
            'global',
44
            'controller_front_init_before',
45
            'zookal_mock/observer',
46
            'mockDisabledModules'
47
        );
48
    }
49
50
    /**
51
     * @test
52
     */
53
    public function itShouldHaveABlockAlias()
54
    {
55
        $this->assertBlockAlias('zookal_mock/payment_backend', 'Zookal_Mock_Block_Payment_Backend');
56
        $this->assertBlockAlias('zookal_mock/payment_frontend', 'Zookal_Mock_Block_Payment_Frontend');
57
    }
58
59
    /**
60
     * @test
61
     */
62
    public function itShouldHaveTheEnableMethodLog()
63
    {
64
        $this->assertDefaultConfigValue('dev/zookalmock/enable_method_log', 0);
65
    }
66
}