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_dropdown_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_dropdown_test.php')
-rw-r--r-- | tests/profilefields/type_dropdown_test.php | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/tests/profilefields/type_dropdown_test.php b/tests/profilefields/type_dropdown_test.php index dad843086d..ddc34f221f 100644 --- a/tests/profilefields/type_dropdown_test.php +++ b/tests/profilefields/type_dropdown_test.php @@ -76,30 +76,30 @@ class phpbb_profilefield_type_dropdown_test extends phpbb_test_case public function validate_profile_field_data() { return array( - array( + array( 7, array(), 'FIELD_INVALID_VALUE-field', 'Invalid value should throw error', - ), - array( + ), + array( 2, array(), false, 'Valid value should not throw error' - ), - array( + ), + array( 0, array(), false, 'Empty value should be acceptible', - ), - array( + ), + array( 0, array('field_required' => true), 'FIELD_REQUIRED-field', 'Required field should not accept empty value', - ), + ), ); } @@ -119,28 +119,28 @@ class phpbb_profilefield_type_dropdown_test extends phpbb_test_case { return array( array( - 1, - array('field_show_novalue' => true), - 'Option 1', - 'Field should output the given value', + 1, + array('field_show_novalue' => true), + 'Option 1', + 'Field should output the given value', ), array( - 4, - array('field_show_novalue' => false), - 'Option 4', - 'Field should output the given value', + 4, + array('field_show_novalue' => false), + 'Option 4', + 'Field should output the given value', ), array( - '', - array('field_show_novalue' => true), - '<No Value>', - 'Field should output nothing for empty value', + '', + array('field_show_novalue' => true), + '<No Value>', + 'Field should output nothing for empty value', ), array( - '', - array('field_show_novalue' => false), - null, - 'Field should simply output null for empty value', + '', + array('field_show_novalue' => false), + null, + 'Field should simply output null for empty value', ), ); } |