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

UiTest::setUp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
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
}