mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/12536] Add test cases with empty versions list
PHPBB3-12536
This commit is contained in:
parent
e1d9f1c67c
commit
a1e21f0a5c
1 changed files with 10 additions and 0 deletions
|
@ -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',
|
'1.1.0-a2',
|
||||||
),
|
),
|
||||||
|
array(
|
||||||
|
'1.1.0',
|
||||||
|
array(),
|
||||||
|
null,
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue