Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | public function testWelcome(): void |
||
21 | { |
||
22 | $core = $this->getCore(new StaticLocator([ |
||
23 | TestCommand::class |
||
24 | ])); |
||
25 | |||
26 | $this->assertSame( |
||
27 | 'Hello World - 0', |
||
28 | $core->run('test')->getOutput()->fetch() |
||
|
|||
29 | ); |
||
30 | |||
31 | $this->assertSame( |
||
32 | 'Hello World - 1', |
||
33 | $core->run('test')->getOutput()->fetch() |
||
34 | ); |
||
53 |