[ticket/12514] Fix indention for type_url_test.php

PHPBB3-12514
This commit is contained in:
Shitiz Garg 2014-06-20 14:41:59 +05:30
parent f076b43915
commit 3ac73a831a

View file

@ -55,39 +55,39 @@ class phpbb_profilefield_type_url_test extends phpbb_test_case
return array( return array(
array( array(
'', '',
array('field_required' => true), array('field_required' => true),
'FIELD_INVALID_URL-field', 'FIELD_INVALID_URL-field',
'Field should reject empty field that is required', 'Field should reject empty field that is required',
), ),
array( array(
'invalidURL', 'invalidURL',
array(), array(),
'FIELD_INVALID_URL-field', 'FIELD_INVALID_URL-field',
'Field should reject invalid input', 'Field should reject invalid input',
), ),
array( array(
'http://onetwothree.example.io', 'http://onetwothree.example.io',
array(), array(),
false, false,
'Field should accept valid URL', 'Field should accept valid URL',
), ),
array( array(
'http://example.com/index.html?param1=test&param2=awesome', 'http://example.com/index.html?param1=test&param2=awesome',
array(), array(),
false, false,
'Field should accept valid URL', 'Field should accept valid URL',
), ),
array( array(
'http://example.com/index.html/test/path?document=get', 'http://example.com/index.html/test/path?document=get',
array(), array(),
false, false,
'Field should accept valid URL', 'Field should accept valid URL',
), ),
array( array(
'http://example.com/index.html/test/path?document[]=DocType%20test&document[]=AnotherDoc', 'http://example.com/index.html/test/path?document[]=DocType%20test&document[]=AnotherDoc',
array(), array(),
'FIELD_INVALID_URL-field', 'FIELD_INVALID_URL-field',
'Field should reject invalid URL having multi value parameters', 'Field should reject invalid URL having multi value parameters',
), ),
); );
} }