Completed
Push — master ( cc8038...edef00 )
by Bartko
01:27
created

IntegrationTestCase::tearDown()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace StefanoTreeTest;
6
7
use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;
8
use PHPUnit\Framework\TestCase;
9
use StefanoTreeTest\DbTester\DbTestCaseTrait;
10
11
abstract class IntegrationTestCase extends TestCase
12
{
13
    use DbTestCaseTrait;
14
    use MockeryPHPUnitIntegration;
15
16
    protected function getPdoConnection()
17
    {
18
        return TestUtil::getPDOConnection();
19
    }
20
21
    public function recreateDbScheme()
22
    {
23
        TestUtil::createDbScheme();
24
    }
25
}
26