1 | <?php |
||
13 | class ChangePasswordCommandTest extends AbstractCommandTest |
||
14 | { |
||
15 | /** |
||
16 | * Create a Member to play with |
||
17 | */ |
||
18 | public function setUp() |
||
28 | |||
29 | /** |
||
30 | * {@inheritDoc} |
||
31 | */ |
||
32 | public function getTestCommand() |
||
36 | |||
37 | /** |
||
38 | * Test that our existing Member's password can be changed |
||
39 | * |
||
40 | * @covers ::execute |
||
41 | */ |
||
42 | public function testExecute() |
||
47 | |||
48 | /** |
||
49 | * Test that if an email does not match a Member, then an error is returned |
||
50 | * |
||
51 | * @covers ::execute |
||
52 | */ |
||
53 | public function testErrorWhenEmailNotFound() |
||
58 | |||
59 | /** |
||
60 | * Ensure that the InputArgument for at least one of the arguments has been added |
||
61 | * |
||
62 | * @covers ::configure |
||
63 | */ |
||
64 | public function testConfigure() |
||
68 | } |
||
69 |