Completed
Push — master ( c310a2...2d8cb6 )
by Kazi Mainuddin
07:28 queued 05:39
created

TestCase   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A resolveApplicationConfiguration() 0 6 1
A getPackageProviders() 0 4 1
1
<?php
2
3
namespace Tzsk\Payu\Tests;
4
5
use Tzsk\Payu\Provider\PayuServiceProvider;
6
use Orchestra\Testbench\TestCase as BaseTestCase;
7
8
class TestCase extends BaseTestCase
9
{
10
    protected function resolveApplicationConfiguration($app)
11
    {
12
        parent::resolveApplicationConfiguration($app);
13
14
        $app['config']['payu'] = require __DIR__ . '/../src/Config/payu.php';
15
    }
16
17
    protected function getPackageProviders($app)
18
    {
19
        return [PayuServiceProvider::class];
20
    }
21
}
22