summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-05-09 21:36:20 +0000
committeruckelman <uckelman@nomic.net>2010-05-09 21:36:20 +0000
commit184d79069964187fa556889af108f12778530f50 (patch)
treeba2ab255e08ee5cc2054a6e278c45bdeb7a531a3 /test
parent8b9ec69cee194fecc42053ae2e7572c0bb088f14 (diff)
Changed topicExists() to topicStatus().
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6837 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'test')
-rw-r--r--test/PhpBB3Test.php10
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)
);
}