summaryrefslogtreecommitdiff
path: root/test/BridgeTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/BridgeTest.php')
-rw-r--r--test/BridgeTest.php9
1 files changed, 6 insertions, 3 deletions
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),
);
}