mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/12514] Fix indention for type_url_test.php
PHPBB3-12514
This commit is contained in:
@@ -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¶m2=awesome',
|
||||
array(),
|
||||
false,
|
||||
'Field should accept valid URL',
|
||||
'http://example.com/index.html?param1=test¶m2=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',
|
||||
),
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user