| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class LostPasswordPageTest extends FunctionalTest |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Lost password page link test |
||
| 18 | */ |
||
| 19 | public function testfindlink() |
||
| 20 | { |
||
| 21 | |||
| 22 | $page = $this->get("forgotten-password/"); // attempt to access the Lost Forgot Page |
||
| 23 | $this->assertEquals(200, $page->getStatusCode(), "a page should load"); |
||
| 24 | $this->assertEquals(LostPasswordPage::find_link(false), "/forgotten-password/", "LostPasswordPage exists"); |
||
| 25 | } |
||
| 26 | |||
| 27 | |||
| 28 | /** |
||
| 29 | * Lost password form test |
||
| 30 | */ |
||
| 31 | public function testLostPasswordForm() |
||
| 42 | ); |
||
| 43 | } |
||
| 44 | |||
| 45 | public function testCanCreate() |
||
| 53 |