From 184d79069964187fa556889af108f12778530f50 Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 9 May 2010 21:36:20 +0000 Subject: Changed topicExists() to topicStatus(). git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6837 67b53d14-2c14-4ace-a08f-0dab2b34000c --- test/PhpBB3Test.php | 10 +++++----- 1 file 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) ); } -- cgit v1.2.3