Passed
Push — master ( b5dd0a...3bec69 )
by
unknown
07:48
created

TestCase   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 21
c 0
b 0
f 0
wmc 2
lcom 0
cbo 1
rs 10
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
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