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