diff options
author | Shitiz Garg <mail@dragooon.net> | 2014-06-18 01:45:08 +0530 |
---|---|---|
committer | Shitiz Garg <mail@dragooon.net> | 2014-06-18 01:48:34 +0530 |
commit | e820143e87da13be621bcfb5c9cf65fa83389715 (patch) | |
tree | 7ddaa27c857fc09680ce71aa8ced451924795e10 /tests/profilefields/type_date_test.php | |
parent | f549a6ce9f4758d7e4fff588e407203d6a38fb88 (diff) | |
download | forums-e820143e87da13be621bcfb5c9cf65fa83389715.tar forums-e820143e87da13be621bcfb5c9cf65fa83389715.tar.gz forums-e820143e87da13be621bcfb5c9cf65fa83389715.tar.bz2 forums-e820143e87da13be621bcfb5c9cf65fa83389715.tar.xz forums-e820143e87da13be621bcfb5c9cf65fa83389715.zip |
[ticket/12514] Fix some formatting for tests
PHPBB3-12514
Diffstat (limited to 'tests/profilefields/type_date_test.php')
-rw-r--r-- | tests/profilefields/type_date_test.php | 114 |
1 files changed, 57 insertions, 57 deletions
diff --git a/tests/profilefields/type_date_test.php b/tests/profilefields/type_date_test.php index b0ac114942..05bf72d0b9 100644 --- a/tests/profilefields/type_date_test.php +++ b/tests/profilefields/type_date_test.php @@ -63,22 +63,22 @@ class phpbb_profilefield_type_date_test extends phpbb_test_case { return array( array( - '01-01-2009', - array('field_show_novalue' => true), - '01/01/2009', - 'Field should output the correctly formatted date', + '01-01-2009', + array('field_show_novalue' => true), + '01/01/2009', + 'Field should output the correctly formatted date', ), array( - null, - array('field_show_novalue' => false), - null, - 'Field should leave empty value as is', + null, + array('field_show_novalue' => false), + null, + 'Field should leave empty value as is', ), array( - 'None', - array('field_show_novalue' => true), - 'None', - 'Field should leave invalid value as is', + 'None', + array('field_show_novalue' => true), + 'None', + 'Field should leave invalid value as is', ), ); } @@ -99,71 +99,71 @@ class phpbb_profilefield_type_date_test extends phpbb_test_case { return array( array( - '', - array('field_required' => true), - 'FIELD_REQUIRED-field', - 'Field should reject value for being empty', + '', + array('field_required' => true), + 'FIELD_REQUIRED-field', + 'Field should reject value for being empty', ), array( - '0125', - array('field_required' => true), - 'FIELD_REQUIRED-field', - 'Field should reject value for being invalid', + '0125', + array('field_required' => true), + 'FIELD_REQUIRED-field', + 'Field should reject value for being invalid', ), array( - '01-01-2012', - array(), - false, - 'Field should accept a valid value', + '01-01-2012', + array(), + false, + 'Field should accept a valid value', ), array( - '40-05-2009', - array(), - 'FIELD_INVALID_DATE-field', - 'Field should reject value for being invalid', + '40-05-2009', + array(), + 'FIELD_INVALID_DATE-field', + 'Field should reject value for being invalid', ), array( - '12-30-2012', - array(), - 'FIELD_INVALID_DATE-field', - 'Field should reject value for being invalid', + '12-30-2012', + array(), + 'FIELD_INVALID_DATE-field', + 'Field should reject value for being invalid', ), array( - 'string', - array(), - false, - 'Field should reject value for being invalid', + 'string', + array(), + false, + 'Field should reject value for being invalid', ), array( - 'string', - array('field_required' => true), - 'FIELD_REQUIRED-field', - 'Field should reject value for being invalid', + 'string', + array('field_required' => true), + 'FIELD_REQUIRED-field', + 'Field should reject value for being invalid', ), array( - 100, - array(), - false, - 'Field should reject value for being invalid', + 100, + array(), + false, + 'Field should reject value for being invalid', ), array( - 100, - array('field_required' => true), - 'FIELD_REQUIRED-field', - 'Field should reject value for being invalid', + 100, + array('field_required' => true), + 'FIELD_REQUIRED-field', + 'Field should reject value for being invalid', ), array( - null, - array('field_required' => true), - 'FIELD_REQUIRED-field', - 'Field should reject value for being empty', + null, + array('field_required' => true), + 'FIELD_REQUIRED-field', + 'Field should reject value for being empty', ), array( - true, - array('field_required' => true), - 'FIELD_REQUIRED-field', - 'Field should reject value for being empty', - ) + true, + array('field_required' => true), + 'FIELD_REQUIRED-field', + 'Field should reject value for being empty', + ), ); } |