diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-05-15 02:10:51 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-05-15 02:10:51 +0200 |
commit | a1e21f0a5cfafb9f195002031618656d0e1abfc8 (patch) | |
tree | 7ab257495b7253ab93752dd7edc9b12456229f0a /tests/version | |
parent | e1d9f1c67c9be90ac2f7f6a86ed02f0c22622afa (diff) | |
download | forums-a1e21f0a5cfafb9f195002031618656d0e1abfc8.tar forums-a1e21f0a5cfafb9f195002031618656d0e1abfc8.tar.gz forums-a1e21f0a5cfafb9f195002031618656d0e1abfc8.tar.bz2 forums-a1e21f0a5cfafb9f195002031618656d0e1abfc8.tar.xz forums-a1e21f0a5cfafb9f195002031618656d0e1abfc8.zip |
[ticket/12536] Add test cases with empty versions list
PHPBB3-12536
Diffstat (limited to 'tests/version')
-rw-r--r-- | tests/version/version_test.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/version/version_test.php b/tests/version/version_test.php index 2e2398bd45..5caad46e10 100644 --- a/tests/version/version_test.php +++ b/tests/version/version_test.php @@ -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, + ), ); } |