From a1e21f0a5cfafb9f195002031618656d0e1abfc8 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Thu, 15 May 2014 02:10:51 +0200 Subject: [PATCH] [ticket/12536] Add test cases with empty versions list PHPBB3-12536 --- tests/version/version_test.php | 10 ++++++++++ 1 file changed, 10 insertions(+) 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, + ), ); }