mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-07 16:46:47 +01:00
* use fixed "roundcube/plugin-installer" * Use composer autoloader for plugins testing * cherrypick remaining from 9241 related with testing * minor legacy autoload improvements
19 lines
375 B
PHP
19 lines
375 B
PHP
<?php
|
|
|
|
class Acl_Plugin extends ActionTestCase
|
|
{
|
|
/**
|
|
* Plugin object construction test
|
|
*/
|
|
public function test_constructor()
|
|
{
|
|
$rcube = rcube::get_instance();
|
|
$plugin = new acl($rcube->plugins);
|
|
|
|
$this->assertInstanceOf('acl', $plugin);
|
|
$this->assertInstanceOf('rcube_plugin', $plugin);
|
|
|
|
$plugin->init();
|
|
}
|
|
}
|