diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/PhpBB3Test.php | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/test/PhpBB3Test.php b/test/PhpBB3Test.php index d43b386..fbd68e2 100644 --- a/test/PhpBB3Test.php +++ b/test/PhpBB3Test.php @@ -67,23 +67,6 @@ EOF; } /** - * @dataProvider providerGetTopicId - */ - public function testGetTopicId($post_id, $expected, $ex) { - if ($ex) $this->setExpectedException($ex); - $run = 'getTopicId(' . $post_id . ')'; - $this->assertEquals($expected, $this->exec_kludge($run)); - } - - public function providerGetTopicId() { - return array( - array(null, null, 'Exception'), - array('bogus', false, null), - array(2, 2, null) - ); - } - - /** * @dataProvider providerGetTopicAndForumIds */ public function testGetTopicAndForumIds($post_id, $expected, $ex) { @@ -149,20 +132,4 @@ 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( - ); - } } |