@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function testfindlink() |
20 | 20 | { |
21 | - $page = $this->get("user-registration/"); // attempt to access the signup Page |
|
21 | + $page = $this->get("user-registration/"); // attempt to access the signup Page |
|
22 | 22 | $this->assertEquals(200, $page->getStatusCode(), "a page should load"); |
23 | 23 | $this->assertEquals(UserRegistrationPage::find_link(false), "/user-registration/", "user-registration page exists"); |
24 | 24 | } |
@@ -19,7 +19,7 @@ |
||
19 | 19 | public function testfindlink() |
20 | 20 | { |
21 | 21 | |
22 | - $page = $this->get("forgotten-password/"); // attempt to access the Lost Forgot Page |
|
22 | + $page = $this->get("forgotten-password/"); // attempt to access the Lost Forgot Page |
|
23 | 23 | $this->assertEquals(200, $page->getStatusCode(), "a page should load"); |
24 | 24 | $this->assertEquals(LostPasswordPage::find_link(false), "/forgotten-password/", "LostPasswordPage exists"); |
25 | 25 | } |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | { |
24 | 24 | $member = Member::get()->filter("Email", "[email protected]")->first(); |
25 | 25 | Injector::inst()->get(IdentityStore::class)->logIn($member); |
26 | - $page = $this->get("my-profile/"); // attempt to access the profile Page |
|
26 | + $page = $this->get("my-profile/"); // attempt to access the profile Page |
|
27 | 27 | $this->assertEquals(200, $page->getStatusCode(), "a page should load"); |
28 | 28 | $this->assertEquals(UserProfilePage::find_link(false), "/my-profile/", "My profile page exists"); |
29 | 29 | } |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | |
43 | 43 | $this->assertEquals( |
44 | 44 | 1, |
45 | - Member::get()->filter("Email", "[email protected]")->count()>0 ? 1 : 0, |
|
45 | + Member::get()->filter("Email", "[email protected]")->count() > 0 ? 1 : 0, |
|
46 | 46 | 'testMyForm() returns the email from profile page.' |
47 | 47 | ); |
48 | 48 | } |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function testfindlink() |
20 | 20 | { |
21 | - $page = $this->get("user-login/"); // attempt to access the user login Page |
|
21 | + $page = $this->get("user-login/"); // attempt to access the user login Page |
|
22 | 22 | $this->assertEquals(200, $page->getStatusCode(), "a page should load"); |
23 | 23 | $this->assertEquals(UserLoginPage::find_link(false), "/user-login/", "User Login page exists"); |
24 | 24 | } |