From 7bc43bb185c554fad9064a97a667ca4c25ac5457 Mon Sep 17 00:00:00 2001 From: uckelman Date: Tue, 20 Apr 2010 20:04:08 +0000 Subject: Fixed bad test cases. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6722 67b53d14-2c14-4ace-a08f-0dab2b34000c --- test/BridgeTest.php | 2 +- test/PhpBB3Test.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/BridgeTest.php b/test/BridgeTest.php index b0b5df7..6925847 100644 --- a/test/BridgeTest.php +++ b/test/BridgeTest.php @@ -90,7 +90,7 @@ class BridgeTest extends PHPUnit_Framework_TestCase { public function providerGetMessageId() { return array( array(null, null, 'Exception'), - array('bogus', false, null), + array(0, false, null), array(1, '<20100302094228.33F0310091@charybdis.ellipsis.cx>', null), ); } diff --git a/test/PhpBB3Test.php b/test/PhpBB3Test.php index 99de765..9de93b5 100644 --- a/test/PhpBB3Test.php +++ b/test/PhpBB3Test.php @@ -78,7 +78,7 @@ EOF; public function providerGetTopicAndForumIds() { return array( array(null, null, 'Exception'), - array('bogus', false, null), + array(0, false, null), array(2, array('topic_id' => 2, 'forum_id' => 2), null) ); } -- cgit v1.2.3