Test Setup Failed
Push — master ( 0c8b57...df0330 )
by Gabriel
08:06
created

AbstractTest::setUp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 7
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Nip\Router\Tests;
4
5
use PHPUnit\Framework\TestCase;
6
use Symfony\Component\Filesystem\Filesystem;
7
8
/**
9
 * Class AbstractTest
10
 */
11
abstract class AbstractTest extends TestCase
12
{
13
    protected $object;
14
15
    protected function setUp(): void
16
    {
17
        parent::setUp();
18
19
        $filesystem = new Filesystem();
20
        $filesystem->remove(TEST_FIXTURE_PATH . '/bootstrap/routes');
21
    }
22
23
    protected function tearDown(): void
24
    {
25
        parent::tearDown();
26
27
        \Mockery::close();
28
    }
29
}
30