Completed
Push — master ( bccc4f...6cada5 )
by Nicolas
04:30
created

BaseTestCase   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getPackageProviders() 0 6 1
A getEnvironmentSetUp() 0 3 1
1
<?php namespace Nwidart\Modules\Tests;
2
3
use Nwidart\Modules\LaravelModulesServiceProvider;
4
use Orchestra\Testbench\TestCase as OrchestraTestCase;
5
6
abstract class BaseTestCase extends OrchestraTestCase
7
{
8
    protected function getPackageProviders($app)
9
    {
10
        return [
11
            LaravelModulesServiceProvider::class,
12
        ];
13
    }
14
15
    /**
16
     * Set up the environment.
17
     *
18
     * @param \Illuminate\Foundation\Application $app
19
     */
20
    protected function getEnvironmentSetUp($app)
21
    {
22
    }
23
}
24