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 /zipdownload/tests/Zipdownload.php |
New RoundCube Plugins Git folder
Diffstat (limited to 'zipdownload/tests/Zipdownload.php')
-rw-r--r-- | zipdownload/tests/Zipdownload.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/zipdownload/tests/Zipdownload.php b/zipdownload/tests/Zipdownload.php new file mode 100644 index 0000000..3882dea --- /dev/null +++ b/zipdownload/tests/Zipdownload.php @@ -0,0 +1,23 @@ +<?php + +class Zipdownload_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../zipdownload.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new zipdownload($rcube->api); + + $this->assertInstanceOf('zipdownload', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + |