@@ -23,7 +23,7 @@ |
||
| 23 | 23 | $this->get("user-registration/"); |
| 24 | 24 | |
| 25 | 25 | $this->submitForm("SignUpForm", "action_doSubmit", array("FirstName" => "John", |
| 26 | - "Password[_Password]" => "admin", |
|
| 26 | + "Password[_Password]" => "admin", |
|
| 27 | 27 | "Password[_ConfirmPassword]" => "admin", "Email" => "[email protected]")); |
| 28 | 28 | |
| 29 | 29 | $this->assertEquals( |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | { |
| 30 | 30 | protected $periodfield = '"Member"."Created"'; |
| 31 | 31 | |
| 32 | - // the name of the report |
|
| 32 | + // the name of the report |
|
| 33 | 33 | public function title() |
| 34 | 34 | { |
| 35 | 35 | return 'Customer List'; |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | $signUpPersonal = Member::create(); |
| 48 | 48 | $form->saveInto($signUpPersonal); |
| 49 | 49 | if (isset($data['DOB']) && $data['DOB']) { |
| 50 | - $signUpPersonal->DOB = date('Y-m-d', strtotime($data['DOB'])); |
|
| 50 | + $signUpPersonal->DOB = date('Y-m-d', strtotime($data['DOB'])); |
|
| 51 | 51 | } |
| 52 | 52 | $signUpPersonal->write(); |
| 53 | 53 | $Member = Member::get()->byId($signUpPersonal->ID); |
@@ -63,10 +63,10 @@ discard block |
||
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | |
| 66 | - /** |
|
| 67 | - * @param Controller $controller the controller instance that is being passed to the form |
|
| 68 | - * @return FieldList Fields for this form. |
|
| 69 | - */ |
|
| 66 | + /** |
|
| 67 | + * @param Controller $controller the controller instance that is being passed to the form |
|
| 68 | + * @return FieldList Fields for this form. |
|
| 69 | + */ |
|
| 70 | 70 | protected function getFormFields($controller = null) |
| 71 | 71 | { |
| 72 | 72 | $fields = FieldList::create( |
@@ -14,9 +14,9 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | class LoginHandlerExtensionTest extends FunctionalTest |
| 16 | 16 | { |
| 17 | - /** |
|
| 18 | - * |
|
| 19 | - **/ |
|
| 17 | + /** |
|
| 18 | + * |
|
| 19 | + **/ |
|
| 20 | 20 | public function testRedirect() |
| 21 | 21 | { |
| 22 | 22 | } |
@@ -74,8 +74,8 @@ |
||
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | /** |
| 77 | - * CMS fields test |
|
| 78 | - **/ |
|
| 77 | + * CMS fields test |
|
| 78 | + **/ |
|
| 79 | 79 | public function testgetCMSFields() |
| 80 | 80 | { |
| 81 | 81 | if ($this->siteconfig->getDBstatus()) { |