summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-20 20:04:08 +0000
committeruckelman <uckelman@nomic.net>2010-04-20 20:04:08 +0000
commit7bc43bb185c554fad9064a97a667ca4c25ac5457 (patch)
treebca83c65e2d6b3e6235ad2a2eb90373bafad3f2c /test
parent36cc1d4510d4f28c463e9584cb7ce849a5e4e2ec (diff)
Fixed bad test cases.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6722 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'test')
-rw-r--r--test/BridgeTest.php2
-rw-r--r--test/PhpBB3Test.php2
2 files changed, 2 insertions, 2 deletions
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)
);
}