[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(
array(
'',
array('field_required' => true),
'FIELD_INVALID_URL-field',
'Field should reject empty field that is required',
array('field_required' => true),
'FIELD_INVALID_URL-field',
'Field should reject empty field that is required',
),
array(
'invalidURL',
array(),
'FIELD_INVALID_URL-field',
'Field should reject invalid input',
'invalidURL',
array(),
'FIELD_INVALID_URL-field',
'Field should reject invalid input',
),
array(
'http://onetwothree.example.io',
array(),
false,
'Field should accept valid URL',
'http://onetwothree.example.io',
array(),
false,
'Field should accept valid URL',
),
array(
'http://example.com/index.html?param1=test&param2=awesome',
array(),
false,
'Field should accept valid URL',
'http://example.com/index.html?param1=test&param2=awesome',
array(),
false,
'Field should accept valid URL',
),
array(
'http://example.com/index.html/test/path?document=get',
array(),
false,
'Field should accept valid URL',
'http://example.com/index.html/test/path?document=get',
array(),
false,
'Field should accept valid URL',
),
array(
'http://example.com/index.html/test/path?document[]=DocType%20test&document[]=AnotherDoc',
array(),
'FIELD_INVALID_URL-field',
'Field should reject invalid URL having multi value parameters',
'http://example.com/index.html/test/path?document[]=DocType%20test&document[]=AnotherDoc',
array(),
'FIELD_INVALID_URL-field',
'Field should reject invalid URL having multi value parameters',
),
);
}