summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-27 19:31:59 +0000
committeruckelman <uckelman@nomic.net>2010-04-27 19:31:59 +0000
commitfc511524418271bc6188fd72d3bd462831852f86 (patch)
tree4334f25ff8345cb7569597c6899b2cae7cc1672f /test
parente52bb4c8409da11660760578e73bea8011e51260 (diff)
Storing references is pointless, since PhpBB doesn't keep any thread info.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6764 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'test')
-rw-r--r--test/BridgeTest.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/BridgeTest.php b/test/BridgeTest.php
index 8aaba04..b72d974 100644
--- a/test/BridgeTest.php
+++ b/test/BridgeTest.php
@@ -21,18 +21,16 @@ class BridgeTest extends PHPUnit_Framework_TestCase {
'post_id MEDIUMINT UNSIGNED, ' .
'message_id VARCHAR(255) NOT NULL, ' .
'in_reply_to VARCHAR(255), ' .
- 'refs BLOB, ' .
'UNIQUE KEY (post_id), ' .
'UNIQUE KEY (message_id))'
);
$this->db->exec(
- 'INSERT INTO posts (post_id, message_id, in_reply_to, refs) ' .
+ 'INSERT INTO posts (post_id, message_id, in_reply_to) ' .
'VALUES (' .
'1, ' .
'"<20100302094228.33F0310091@charybdis.ellipsis.cx>", ' .
- '"<1267473003.m2f.17543@www.vassalengine.org>", ' .
- '"<1267171317.m2f.17507@www.vassalengine.org> <1267473003.m2f.17543@www.vassalengine.org>"' .
+ '"<1267473003.m2f.17543@www.vassalengine.org>"' .
')'
);
@@ -98,13 +96,13 @@ class BridgeTest extends PHPUnit_Framework_TestCase {
/**
* @dataProvider providerRegisterMessage
*/
- public function testRegisterMessage($postId, $messageId, $inReplyTo, $refs,
+ public function testRegisterMessage($postId, $messageId, $inReplyTo,
$expected, $ex) {
if ($ex) $this->setExpectedException($ex);
$bridge = new Bridge($this->db);
$this->assertEquals(
$expected,
- $bridge->registerMessage($postId, $messageId, $inReplyTo, $refs)
+ $bridge->registerMessage($postId, $messageId, $inReplyTo)
);
}