aboutsummaryrefslogtreecommitdiffstats
path: root/tests/profilefields/type_dropdown_test.php
diff options
context:
space:
mode:
authorShitiz Garg <mail@dragooon.net>2014-06-20 14:47:20 +0530
committerShitiz Garg <mail@dragooon.net>2014-06-20 14:47:20 +0530
commit4472a492da3e61f48241a20a0408ebdc8444a966 (patch)
tree209f77c4b17e63b50935f7870cba3828a1247dda /tests/profilefields/type_dropdown_test.php
parent3ac73a831a8ddb2a553a92e376452c625e722902 (diff)
downloadforums-4472a492da3e61f48241a20a0408ebdc8444a966.tar
forums-4472a492da3e61f48241a20a0408ebdc8444a966.tar.gz
forums-4472a492da3e61f48241a20a0408ebdc8444a966.tar.bz2
forums-4472a492da3e61f48241a20a0408ebdc8444a966.tar.xz
forums-4472a492da3e61f48241a20a0408ebdc8444a966.zip
[ticket/12514] Fix array formatting for tests
PHPBB3-12514
Diffstat (limited to 'tests/profilefields/type_dropdown_test.php')
-rw-r--r--tests/profilefields/type_dropdown_test.php80
1 files changed, 40 insertions, 40 deletions
diff --git a/tests/profilefields/type_dropdown_test.php b/tests/profilefields/type_dropdown_test.php
index d1983eb4cb..0e92afd504 100644
--- a/tests/profilefields/type_dropdown_test.php
+++ b/tests/profilefields/type_dropdown_test.php
@@ -77,40 +77,40 @@ class phpbb_profilefield_type_dropdown_test extends phpbb_test_case
{
return array(
array(
- 7,
- array(),
- 'FIELD_INVALID_VALUE-field',
- 'Invalid value should throw error',
+ 7,
+ array(),
+ 'FIELD_INVALID_VALUE-field',
+ 'Invalid value should throw error',
),
array(
- true,
- array('field_required' => true),
- false,
- 'Boolean would evaluate to 1 and hence correct value',
+ true,
+ array('field_required' => true),
+ false,
+ 'Boolean would evaluate to 1 and hence correct value',
),
array(
- 'string',
- array('field_required' => true),
- 'FIELD_REQUIRED-field',
- 'String should be rejected for value',
+ 'string',
+ array('field_required' => true),
+ 'FIELD_REQUIRED-field',
+ 'String should be rejected for value',
),
array(
- 2,
- array(),
- false,
- 'Valid value should not throw error'
+ 2,
+ array(),
+ false,
+ 'Valid value should not throw error'
),
array(
- 0,
- array(),
- false,
- 'Empty value should be acceptible',
+ 0,
+ array(),
+ false,
+ 'Empty value should be acceptible',
),
array(
- 0,
- array('field_required' => true),
- 'FIELD_REQUIRED-field',
- 'Required field should not accept empty value',
+ 0,
+ array('field_required' => true),
+ 'FIELD_REQUIRED-field',
+ 'Required field should not accept empty value',
),
);
}
@@ -131,28 +131,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',
),
);
}