aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2013-07-11 12:37:03 -0400
committerIgor Wiedler <igor@wiedler.ch>2013-07-11 13:00:21 -0400
commit20d59c49e28511920693bb6bfb7b219e17106140 (patch)
treecaaeee7c9a729633eebc0e603d3d0978b3c67b82 /tests/dbal
parent13c087d4f10944ea646fc9fa1ba10a8dc368ceb3 (diff)
downloadforums-20d59c49e28511920693bb6bfb7b219e17106140.tar
forums-20d59c49e28511920693bb6bfb7b219e17106140.tar.gz
forums-20d59c49e28511920693bb6bfb7b219e17106140.tar.bz2
forums-20d59c49e28511920693bb6bfb7b219e17106140.tar.xz
forums-20d59c49e28511920693bb6bfb7b219e17106140.zip
[ticket/11644] Skip phpbb_dbal_order_lower_test on MySQL 5.6
PHPBB3-11644
Diffstat (limited to 'tests/dbal')
-rw-r--r--tests/dbal/order_lower_test.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/dbal/order_lower_test.php b/tests/dbal/order_lower_test.php
index b07f1baa91..e17295a4ea 100644
--- a/tests/dbal/order_lower_test.php
+++ b/tests/dbal/order_lower_test.php
@@ -18,6 +18,11 @@ class phpbb_dbal_order_lower_test extends phpbb_database_test_case
{
$db = $this->new_dbal();
+ if (strpos($db->sql_layer, 'mysql') === 0 && version_compare($db->sql_server_info(true, false), '5.6', '>='))
+ {
+ $this->markTestSkipped('MySQL 5.6 fails to order things correctly. See also: http://tracker.phpbb.com/browse/PHPBB3-11571 http://bugs.mysql.com/bug.php?id=69005');
+ }
+
// http://tracker.phpbb.com/browse/PHPBB3-10507
// Test ORDER BY LOWER(style_name)
$db->sql_return_on_error(true);
@@ -55,7 +60,7 @@ class phpbb_dbal_order_lower_test extends phpbb_database_test_case
'theme_id' => 2,
'imageset_id' => 2
)
- ),
+ ),
$db->sql_fetchrowset($result)
);
}