Total Complexity | 4 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
3 | class AccountCommandTest extends AimeosTestAbstract |
||
4 | { |
||
5 | public function testAccountCommandNew() |
||
6 | { |
||
7 | $args = array( 'site' => 'unittest', 'email' => '[email protected]', '--password' => 'test' ); |
||
8 | $this->assertEquals( 0, $this->artisan( 'aimeos:account', $args ) ); |
||
9 | } |
||
10 | |||
11 | |||
12 | public function testAccountCommandAdmin() |
||
13 | { |
||
14 | $args = array( 'site' => 'unittest', 'email' => '[email protected]', '--password' => 'test', '--admin' => true ); |
||
15 | $this->assertEquals( 0, $this->artisan( 'aimeos:account', $args ) ); |
||
16 | } |
||
17 | |||
18 | |||
19 | public function testAccountCommandApi() |
||
20 | { |
||
21 | $args = array( 'site' => 'unittest', 'email' => '[email protected]', '--password' => 'test', '--api' => true ); |
||
22 | $this->assertEquals( 0, $this->artisan( 'aimeos:account', $args ) ); |
||
23 | } |
||
24 | |||
25 | |||
26 | public function testAccountCommandEditor() |
||
30 | } |
||
31 | } |
||
32 |