Files
roundcubemail/plugins/squirrelmail_usercopy/tests/SquirrelmailUsercopyTest.php
Michael Voříšek 1e360999b2 Use composer autoloader for bundled plugins testing (#9412)
* use fixed "roundcube/plugin-installer"

* Use composer autoloader for plugins testing

* cherrypick remaining from 9241 related with testing

* minor legacy autoload improvements
2024-04-11 18:28:46 +02:00

19 lines
429 B
PHP

<?php
use PHPUnit\Framework\TestCase;
class SquirrelmailUsercopy_Plugin extends TestCase
{
/**
* Plugin object construction test
*/
public function test_constructor()
{
$rcube = rcube::get_instance();
$plugin = new squirrelmail_usercopy($rcube->plugins);
$this->assertInstanceOf('squirrelmail_usercopy', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin);
}
}