1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 09:16:55 +02:00

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
This commit is contained in:
Joas Schilling
2014-05-28 00:07:33 +02:00
2 changed files with 14 additions and 1 deletions

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