Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
14 | public function testAccountCommandNew() |
||
15 | { |
||
16 | $kernel = $this->createKernel(); |
||
17 | $kernel->boot(); |
||
18 | |||
19 | $application = new Application( $kernel ); |
||
20 | $application->add( new Command\AccountCommand() ); |
||
21 | |||
22 | $command = $application->find( 'aimeos:account' ); |
||
23 | $commandTester = new CommandTester( $command ); |
||
24 | $commandTester->execute( array( 'command' => $command->getName(), 'site' => 'unittest', 'email' => '[email protected]', '--password' => 'test' ) ); |
||
25 | |||
26 | $this->assertEquals( 0, $commandTester->getStatusCode() ); |
||
27 | } |
||
28 | |||
45 |