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

TestCase::resolveApplicationConfiguration()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 6
rs 9.4285
c 1
b 0
f 0
cc 1
eloc 3
nc 1
nop 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