diff options
author | uckelman <uckelman@nomic.net> | 2010-04-11 21:33:08 +0000 |
---|---|---|
committer | uckelman <uckelman@nomic.net> | 2010-04-11 21:33:08 +0000 |
commit | e39c305315715202d956b4f78a9f32bfd623d8eb (patch) | |
tree | c7c87bbb675fa84dbbe98332518a21b1add80f00 /test | |
parent | 78969b6d3adb9e3162754207a5a57a3a1e58fd4f (diff) |
Added getPostTime().
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6687 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'test')
-rw-r--r-- | test/PhpBB3Test.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/PhpBB3Test.php b/test/PhpBB3Test.php index ca94526..fbd68e2 100644 --- a/test/PhpBB3Test.php +++ b/test/PhpBB3Test.php @@ -116,4 +116,20 @@ EOF; array(1, true, null) ); } + + /** + * @dataProvider providerGetPostTime + */ + public function testGetPostTime($post_id, $expected, $ex) { + $this->markTestIncomplete(); + + if ($ex) $this->setExpectedException($ex); + $run = 'getPostTime(' . $post_id . ')'; + $this->assertEquals($expected, $this->exec_kludge($run)); + } + + public function providerGetPostTime() { + return array( + ); + } } |