diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/PhpBB3Test.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/PhpBB3Test.php b/test/PhpBB3Test.php index 9de93b5..2d5b0ea 100644 --- a/test/PhpBB3Test.php +++ b/test/PhpBB3Test.php @@ -101,19 +101,19 @@ EOF; } /** - * @dataProvider providerTopicExists + * @dataProvider providerTopicStatus */ - public function testTopicExists($topic_id, $expected, $ex) { + public function testTopicStatus($topic_id, $expected, $ex) { if ($ex) $this->setExpectedException($ex); - $run = 'topicExists(' . $topic_id . ')'; + $run = 'topicStatus(' . $topic_id . ')'; $this->assertEquals($expected, $this->exec_kludge($run)); } - public function providerTopicExists() { + public function providerTopicStatus() { return array( array('bogus', null, 'Exception'), array(0, false, null), - array(1, true, null) + array(1, 0, null) ); } |