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