comparison plugins/filesystem_attachments/tests/FilesystemAttachments.php @ 0:4681f974d28b

vanilla 1.3.3 distro, I hope
author Charlie Root
date Thu, 04 Jan 2018 15:52:31 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4681f974d28b
1 <?php
2
3 class FilesystemAttachments_Plugin extends PHPUnit_Framework_TestCase
4 {
5
6 function setUp()
7 {
8 include_once __DIR__ . '/../filesystem_attachments.php';
9 }
10
11 /**
12 * Plugin object construction test
13 */
14 function test_constructor()
15 {
16 $rcube = rcube::get_instance();
17 $plugin = new filesystem_attachments($rcube->api);
18
19 $this->assertInstanceOf('filesystem_attachments', $plugin);
20 $this->assertInstanceOf('rcube_plugin', $plugin);
21 }
22 }
23