aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-05-22 18:41:15 +0200
committerAndreas Fischer <bantu@phpbb.com>2012-05-22 18:46:29 +0200
commitbad91d8e74eea420d9ea7d9a0ac0ecf47d23fdb7 (patch)
treefa11a07c8920a87efdca379d23bd5ffbad949f43 /tests/dbal
parent5d5049710c8e5109408ff06f35c362bac2066417 (diff)
downloadforums-bad91d8e74eea420d9ea7d9a0ac0ecf47d23fdb7.tar
forums-bad91d8e74eea420d9ea7d9a0ac0ecf47d23fdb7.tar.gz
forums-bad91d8e74eea420d9ea7d9a0ac0ecf47d23fdb7.tar.bz2
forums-bad91d8e74eea420d9ea7d9a0ac0ecf47d23fdb7.tar.xz
forums-bad91d8e74eea420d9ea7d9a0ac0ecf47d23fdb7.zip
[ticket/10907] Mark (var)binary tests as incomplete on non-MySQL DBMSes.
PHPBB3-10907
Diffstat (limited to 'tests/dbal')
-rw-r--r--tests/dbal/db_tools_test.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/dbal/db_tools_test.php b/tests/dbal/db_tools_test.php
index 9bed0648cd..c20e46011f 100644
--- a/tests/dbal/db_tools_test.php
+++ b/tests/dbal/db_tools_test.php
@@ -165,6 +165,11 @@ class phpbb_dbal_db_tools_test extends phpbb_database_test_case
*/
public function test_created_column($column_name, $column_value)
{
+ if ($column_name === 'c_varbinary' && stripos(get_class($this->db), 'mysql') === false)
+ {
+ $this->markTestIncomplete('Binary handling is not implemented properly on non-MySQL DBMSes.');
+ }
+
$row_insert = self::get_default_values();
$row_insert[$column_name] = $column_value;