Mercurial > hg > rc2
annotate plugins/filesystem_attachments/tests/FilesystemAttachments.php @ 11:aff04b06b685 default tip
various small fixes from upgrades to PHP and/or hangover from fix to apt-get overwrite at beginning of the year somehow
author | Charlie Root |
---|---|
date | Sun, 26 Jan 2025 13:09:03 -0500 |
parents | 4681f974d28b |
children |
rev | line source |
---|---|
0 | 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 |