From 3f22dc639d43d3beda597bb8c41f034da9a1cfab Mon Sep 17 00:00:00 2001 From: uckelman Date: Tue, 13 Apr 2010 21:28:20 +0000 Subject: Added getFirstPostId(). git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6705 67b53d14-2c14-4ace-a08f-0dab2b34000c --- test/PhpBB3Test.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'test') diff --git a/test/PhpBB3Test.php b/test/PhpBB3Test.php index fbd68e2..ee9246a 100644 --- a/test/PhpBB3Test.php +++ b/test/PhpBB3Test.php @@ -132,4 +132,20 @@ EOF; return array( ); } + + /** + * @dataProvider providerGetFirstPostId + */ + public function testGetFirstPostId($topic_id, $expected, $ex) { + $this->markTestIncomplete(); + + if ($ex) $this->setExpectedException($ex); + $run = 'getFirstPostId(' . $topic_id . ')'; + $this->assertEquals($expected, $this->exec_kludge($run)); + } + + public function providerGetFirstPostId() { + return array( + ); + } } -- cgit v1.2.3