mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +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(
|
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¶m2=awesome',
|
'http://example.com/index.html?param1=test¶m2=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',
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user