[ticket/12536] Add test cases with empty versions list

PHPBB3-12536
This commit is contained in:
Tristan Darricau 2014-05-15 02:10:51 +02:00
parent e1d9f1c67c
commit a1e21f0a5c

View file

@ -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,
),
);
}