mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/12536] Add test cases with empty versions list
PHPBB3-12536
This commit is contained in:
@@ -181,6 +181,11 @@ class phpbb_version_helper_test extends phpbb_test_case
|
||||
),
|
||||
),
|
||||
),
|
||||
array(
|
||||
'1.1.0',
|
||||
array(),
|
||||
array(),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -286,6 +291,11 @@ class phpbb_version_helper_test extends phpbb_test_case
|
||||
),
|
||||
'1.1.0-a2',
|
||||
),
|
||||
array(
|
||||
'1.1.0',
|
||||
array(),
|
||||
null,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user