From c142502ec6ebe23e3b54d36441c23a6a9a17d4e2 Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 11 Apr 2010 20:53:12 +0000 Subject: Fixed test. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6685 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 9ec0626..54f9880 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, 0); + $rows = $result->fetchAll(PDO::FETCH_COLUMN); $result->closeCursor(); return $rows; } diff --git a/test/BridgeTest.php b/test/BridgeTest.php index ec42543..d79ebd0 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(1, false, null), + array(1, array(), null), array(2, array('messages@forums.vassalengine.org'), null) ); } -- cgit v1.2.3