diff options
author | Hugues Hiegel <root@paranoid> | 2015-02-22 12:58:46 +0100 |
---|---|---|
committer | Hugues Hiegel <root@paranoid> | 2015-02-22 12:58:46 +0100 |
commit | b2034fdfec040a67988e543a911208ef2491ce7a (patch) | |
tree | f970dfabc63f59adac7b948cb0211d6ae926d29f /help/tests/Help.php |
New RoundCube Plugins Git folder
Diffstat (limited to 'help/tests/Help.php')
-rw-r--r-- | help/tests/Help.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/help/tests/Help.php b/help/tests/Help.php new file mode 100644 index 0000000..ff5771b --- /dev/null +++ b/help/tests/Help.php @@ -0,0 +1,23 @@ +<?php + +class Help_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../help.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new help($rcube->api); + + $this->assertInstanceOf('help', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + |