diff options
author | uckelman <uckelman@nomic.net> | 2010-04-11 20:53:12 +0000 |
---|---|---|
committer | uckelman <uckelman@nomic.net> | 2010-04-11 20:53:12 +0000 |
commit | c142502ec6ebe23e3b54d36441c23a6a9a17d4e2 (patch) | |
tree | 7bda838ac24324aa788e7b1deacc1b16c8d243ee | |
parent | 3324a6e7955a3e755fc2ce64dabfb98b7e19684d (diff) |
Fixed test.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6685 67b53d14-2c14-4ace-a08f-0dab2b34000c
-rw-r--r-- | src/Bridge.php | 2 | ||||
-rw-r--r-- | 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) ); } |