mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12514] Fix indention for type_url_test.php
PHPBB3-12514
This commit is contained in:
parent
f076b43915
commit
3ac73a831a
1 changed files with 23 additions and 23 deletions
|
@ -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',
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue