Completed
Push — master ( 79027c...8f1f38 )
by Oleg
03:47
created

TestCase   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 17
rs 10
c 0
b 0
f 0
wmc 3
lcom 0
cbo 1
1
<?php
2
namespace Malezha\Menu\Tests;
3
4
use Malezha\Menu\MenuFacade;
5
use Malezha\Menu\MenuServiceProvider;
6
use Orchestra\Testbench\TestCase as OrchestraTestCase;
7
8
/**
9
 * Class TestCase
10
 * @package Malezha\Menu\Tests
11
 */
12
class TestCase extends OrchestraTestCase
13
{
14
    protected function getPackageProviders($app)
15
    {
16
        return [MenuServiceProvider::class];
17
    }
18
19
    protected function getPackageAliases($app)
20
    {
21
        return ['Menu' => MenuFacade::class];
22
    }
23
    
24
    protected function getStub($file)
25
    {
26
        return file_get_contents(__DIR__ . '/stub/' . $file);
27
    }
28
}