Completed
Push — master ( cb7970...970861 )
by Colin
12:52 queued 03:09
created

TestCase::getPackageProviders()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php namespace Cviebrock\LaravelElasticsearch\Tests;
2
3
use Cviebrock\LaravelElasticsearch\Facade;
4
use Cviebrock\LaravelElasticsearch\ServiceProvider;
5
use Orchestra\Testbench\TestCase as Orchestra;
6
7
8
/**
9
 * Class TestCase
10
 *
11
 * @package Tests
12
 */
13
abstract class TestCase extends Orchestra
14
{
15
16
    /**
17
     * @inheritdoc
18
     */
19
    protected function getPackageProviders($app)
20
    {
21
        return [
22
            ServiceProvider::class,
23
        ];
24
    }
25
26
    /**
27
     * @inheritdoc
28
     */
29
    protected function getPackageAliases($app)
30
    {
31
        return [
32
            'Elasticsearch' => Facade::class,
33
        ];
34
    }
35
}
36