Passed
Push — develop ( debec8...47f871 )
by Nikolay
05:15
created

PbxExtensionSetupTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 3
c 1
b 0
f 0
dl 0
loc 7
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testInstallDB() 0 4 1
1
<?php
2
/**
3
 * Copyright (C) MIKO LLC - All Rights Reserved
4
 * Unauthorized copying of this file, via any medium is strictly prohibited
5
 * Proprietary and confidential
6
 * Written by Nikolay Beketov, 7 2020
7
 *
8
 */
9
10
namespace MikoPBX\Tests\Modules\ModulePT1CCore\Setup;
11
12
use Modules\ModulePT1CCore\Setup\PbxExtensionSetup;
13
use MikoPBX\Tests\Unit\AbstractUnitTest;
14
15
class PbxExtensionSetupTest extends AbstractUnitTest
16
{
17
18
    public function testInstallDB()
19
    {
20
        $setup = new PbxExtensionSetup('ModulePT1CCore');
21
        self::assertTrue($setup->installDB());
22
    }
23
}
24