TestCase::configProvider()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 11
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the trendsoft/themes.
5
 * (c) jabber <[email protected]>
6
 * This source file is subject to the MIT license that is bundled
7
 * with this source code in the file LICENSE.
8
 */
9
10
namespace Tests;
11
12
use PHPUnit\Framework\TestCase as BaseTestCase;
13
14
class TestCase extends BaseTestCase
15
{
16
    public function getAbsolute()
17
    {
18
        return dirname(__FILE__).'/themes';
19
    }
20
21
    public function configProvider()
22
    {
23
        return [
24
            [
25
                [
26
                    'active' => 'default',
27
                    'paths' => ['absolute' => $this->getAbsolute(), 'base' => 'themes', 'assets' => 'assets'],
28
                ],
29
            ],
30
        ];
31
    }
32
}
33