From 634b25edf5fbb28bc30758cf6ab683615cfcb179 Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 11 Apr 2010 20:06:20 +0000 Subject: Updated tests. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6677 67b53d14-2c14-4ace-a08f-0dab2b34000c --- test/BridgeTest.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'test/BridgeTest.php') diff --git a/test/BridgeTest.php b/test/BridgeTest.php index 72cae16..7a3c265 100644 --- a/test/BridgeTest.php +++ b/test/BridgeTest.php @@ -72,7 +72,8 @@ class BridgeTest extends PHPUnit_Framework_TestCase { public function providerGetPostId() { return array( - array('bogus', null, 'Exception'), + array(null, null, 'Exception'), + array('bogus', false, null), array('<20100302094228.33F0310091@charybdis.ellipsis.cx>', 1, null), ); } @@ -88,7 +89,8 @@ class BridgeTest extends PHPUnit_Framework_TestCase { public function providerGetMessageId() { return array( - array('bogus', null, 'Exception'), + array(null, null, 'Exception'), + array('bogus', false, 'Exception'), array(1, '<20100302094228.33F0310091@charybdis.ellipsis.cx>', null), ); } @@ -137,7 +139,8 @@ class BridgeTest extends PHPUnit_Framework_TestCase { public function providerGetDefaultForumId() { return array( - array('bogus', null, 'Exception'), + array(null, null, 'Exception'), + array('bogus', false, 'Exception'), array('messages@forums.vassalengine.org', 2, null), ); } -- cgit v1.2.3