diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-10-17 10:50:46 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-10-20 15:04:42 +0200 |
commit | a359fe7e6a7e43c2253aeca96b594dc25bece3d9 (patch) | |
tree | f4c2141f4c3130e158477810aa65fdf8d1d7740f /tests/lib/l10n.php | |
parent | c8e8945efbac31605b6cb80723992b8bfdbd259c (diff) | |
download | nextcloud-server-a359fe7e6a7e43c2253aeca96b594dc25bece3d9.tar.gz nextcloud-server-a359fe7e6a7e43c2253aeca96b594dc25bece3d9.zip |
adding unit tests for en_GB and en-GB - just to verify
Diffstat (limited to 'tests/lib/l10n.php')
-rw-r--r-- | tests/lib/l10n.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/lib/l10n.php b/tests/lib/l10n.php index 26ad87b60f6..a97fa22f05c 100644 --- a/tests/lib/l10n.php +++ b/tests/lib/l10n.php @@ -77,6 +77,14 @@ class Test_L10n extends PHPUnit_Framework_TestCase { array('13. Februar 2009', 'de', 'date', new DateTime('@1234567890')), array('11:31:30 PM GMT+0', 'en', 'time', new DateTime('@1234567890')), array('23:31:30 GMT+0', 'de', 'time', new DateTime('@1234567890')), + + // en_GB + array('13 February 2009 at 23:31:30 GMT+0', 'en_GB', 'datetime', new DateTime('@1234567890')), + array('13 February 2009', 'en_GB', 'date', new DateTime('@1234567890')), + array('23:31:30 GMT+0', 'en_GB', 'time', new DateTime('@1234567890')), + array('13 February 2009 at 23:31:30 GMT+0', 'en-GB', 'datetime', new DateTime('@1234567890')), + array('13 February 2009', 'en-GB', 'date', new DateTime('@1234567890')), + array('23:31:30 GMT+0', 'en-GB', 'time', new DateTime('@1234567890')), ); } |