Test Failed
Push — master ( 310ecf...5d6054 )
by Alexey
05:08
created

UiTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 3 1
A testInit() 0 4 1
1
<?php
2
3
class UiTest extends PHPUnit\Framework\TestCase {
4
    /**
5
     * @covers Modules::install
6
     */
7
    function setUp() {
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
8
        \App::$cur->Modules->install('Ui');
9
    }
10
11
    /**
12
     * @covers Ui::init
13
     */
14
    public function testInit() {
15
        \App::$cur->Ui;
16
        $this->assertEquals(true, true);
17
    }
18
}