From 3324a6e7955a3e755fc2ce64dabfb98b7e19684d Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 11 Apr 2010 20:51:48 +0000 Subject: Fixed test. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6684 67b53d14-2c14-4ace-a08f-0dab2b34000c --- src/Bridge.php | 2 +- test/BridgeTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bridge.php b/src/Bridge.php index 54f9880..9ec0626 100644 --- a/src/Bridge.php +++ b/src/Bridge.php @@ -66,7 +66,7 @@ class Bridge { $result = $this->db->query($sql); - $rows = $result->fetchAll(PDO::FETCH_COLUMN); + $rows = $result->fetchAll(PDO::FETCH_COLUMN, 0); $result->closeCursor(); return $rows; } diff --git a/test/BridgeTest.php b/test/BridgeTest.php index d31f37d..ec42543 100644 --- a/test/BridgeTest.php +++ b/test/BridgeTest.php @@ -175,7 +175,7 @@ class BridgeTest extends PHPUnit_Framework_TestCase { public function providerGetLists() { return array( array(null, null, 'Exception'), - array('bogus', false, null), + array(1, false, null), array(2, array('messages@forums.vassalengine.org'), null) ); } -- cgit v1.2.3