GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#58)
by joseph
18:31
created

GenerateEmbeddableFromArchetypeCommandTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 21
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testSetEmbeddable() 0 16 1
1
<?php declare(strict_types=1);
2
3
namespace EdmondsCommerce\DoctrineStaticMeta\CodeGeneration\Command;
4
5
use EdmondsCommerce\DoctrineStaticMeta\AbstractIntegrationTest;
6
use EdmondsCommerce\DoctrineStaticMeta\Entity\Embeddable\Objects\Financial\MoneyEmbeddable;
7
8
class GenerateEmbeddableFromArchetypeCommandTest extends AbstractCommandIntegrationTest
9
{
10
    public const WORK_DIR = AbstractIntegrationTest::VAR_PATH.'/'
11
                            .self::TEST_TYPE.'/GenerateEmbeddableFromArchetypeCommandTest/';
12
13
    public function testSetEmbeddable()
14
    {
15
        $command = $this->container->get(GenerateEmbeddableFromArchetypeCommand::class);
16
        $tester  = $this->getCommandTester($command);
17
        $tester->execute(
18
            [
19
                '-'.GenerateEmbeddableFromArchetypeCommand::OPT_PROJECT_ROOT_PATH_SHORT         => self::WORK_DIR,
20
                '-'.GenerateEmbeddableFromArchetypeCommand::OPT_PROJECT_ROOT_NAMESPACE_SHORT    =>
21
                    self::TEST_PROJECT_ROOT_NAMESPACE,
22
                '-'.GenerateEmbeddableFromArchetypeCommand::OPT_NEW_EMBEDDABLE_CLASS_NAME_SHORT => 'PriceEmbeddable',
23
                '-'.GenerateEmbeddableFromArchetypeCommand::OPT_ARCHETYPE_OBJECT_FQN_SHORT      =>
24
                    MoneyEmbeddable::class,
25
            ]
26
        );
27
28
        $this->assertTrue($this->qaGeneratedCode());
29
    }
30
}
31