Completed
Push — master ( dacb23...c4abf4 )
by David
01:54
created

TestCase::createApplication()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 8
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
namespace Test\Unit;
4
5
use Illuminate\Foundation\Application;
6
use Illuminate\Foundation\Testing\TestCase as IlluminateTestCase;
7
8
class TestCase extends IlluminateTestCase
9
{
10
    public function createApplication()
11
    {
12
        $app = new Application(
13
            realpath(__DIR__ . '/laravel-forum/')
14
        );
15
16
        return $app;
17
    }
18
}