Completed
Push — master ( 6f1f11...46af25 )
by Gaël
01:59
created

TestCase::getEnvironmentSetUp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace DansMaCulotte\Newsletter\Test;
4
5
use Orchestra\Testbench\TestCase as Orchestra;
6
use DansMaCulotte\Newsletter\NewsletterServiceProvider;
7
8
class TestCase extends Orchestra
0 ignored issues
show
Bug introduced by
There is at least one abstract method in this class. Maybe declare it as abstract, or implement the remaining methods: artisan, be, call, seed
Loading history...
9
{
10
    /**
11
     * @param \Illuminate\Foundation\Application $app
12
     *
13
     * @return array
14
     */
15
    protected function getPackageProviders($app)
16
    {
17
        return [
18
            NewsletterServiceProvider::class,
19
        ];
20
    }
21
    /**
22
     * @param \Illuminate\Foundation\Application $app
23
     */
24
    protected function getEnvironmentSetUp($app)
25
    {
26
        config()->set('newsletter.driver', 'log');
27
    }
28
}
29