Test Failed
Push — feature/use-abstract-gacela-cl... ( fc7e58 )
by Chema
04:29
created

FeatureTest::test_missing_factory_and_config()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 4
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 7
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace GacelaTest\Feature\Framework\UsingAbstractGacelaClassesByDefault;
6
7
use Gacela\Framework\Gacela;
8
use PHPUnit\Framework\TestCase;
9
10
final class FeatureTest extends TestCase
11
{
12
    public function setUp(): void
13
    {
14
        Gacela::bootstrap(__DIR__);
15
    }
16
17
    public function test_missing_factory_and_config(): void
18
    {
19
        $facade = new Module\Facade();
20
21
        self::assertStringContainsString(
22
            'gacela/tests/Feature/Framework/UsingAbstractGacelaClassesByDefault',
23
            $facade->getAppRootDir()
24
        );
25
    }
26
}
27