Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
35 | public function testResetWrongToken() |
||
36 | { |
||
37 | $this->tester->expectException('yii\base\InvalidParamException', function() { |
||
38 | new ResetPasswordForm(''); |
||
39 | }); |
||
40 | |||
41 | $this->tester->expectException('yii\base\InvalidParamException', function() { |
||
42 | new ResetPasswordForm('notexistingtoken_1391882543'); |
||
43 | }); |
||
56 |