Skip to content

Commit

Permalink
[ticket/9592] Remove test cases for empty IN()
Browse files Browse the repository at this point in the history
They failed under SQLite because SQLite accepts empty IN() syntax.

PHPBB3-9592
  • Loading branch information
igorw committed Sep 11, 2010
1 parent 4fd45ad commit 566ddf8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/dbal/dbal.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,9 @@ public static function in_set_data()
array('username_clean' => 'bertie'))),

// These here would throw errors and therefor $result should be false.
array('user_id', array(), false, false, false, true),
array('user_id', array(), true, false, false, true),
// Removing for now because SQLite accepts empty IN() syntax
/*array('user_id', array(), false, false, false, true),
array('user_id', array(), true, false, false, true),*/
);
}

Expand Down

0 comments on commit 566ddf8

Please sign in to comment.