aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-05-28 00:07:33 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-05-28 00:07:33 +0200
commit83fc8725daf163398300ff6ddc6256b9444b39cd (patch)
tree9beed6f21135b2b7f40e99190decb383955b6baf /tests
parente9f28c7be0440761ec67f8d0b975e74e34feb77d (diff)
parent8a227b981adae1ec49ad0996f32fe3e5fff33e8a (diff)
downloadforums-83fc8725daf163398300ff6ddc6256b9444b39cd.tar
forums-83fc8725daf163398300ff6ddc6256b9444b39cd.tar.gz
forums-83fc8725daf163398300ff6ddc6256b9444b39cd.tar.bz2
forums-83fc8725daf163398300ff6ddc6256b9444b39cd.tar.xz
forums-83fc8725daf163398300ff6ddc6256b9444b39cd.zip
Merge pull request #2453 from Nicofuma/ticket/12536
[ticket/12536] Get Versions Should Not Require Both Stable and Unstable * Nicofuma/ticket/12536: [ticket/12536] Restore missing @throws [ticket/12536] Add test cases with empty versions list [ticket/12536] Use stable values when unstable are unavailable [ticket/12536] Update doc block [ticket/12536] Return empty array if stability unavailable [ticket/12536] Get Versions Should Not Require Both Stable and Unstable
Diffstat (limited to 'tests')
-rw-r--r--tests/version/version_test.php10
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,
+ ),
);
}