mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-04 23:34:01 +01:00
- Emoticons: All emoticons-related functionality is handled by the plugin now - Emoticons: Added option to switch on/off emoticons in compose editor (#1485732) - Emoticons: Added option to switch on/off emoticons in plain text messages - Plugin API: Added disabled_plugins an disabled_buttons options in html_editor hook - Plugin API: Added html2text hook
23 lines
456 B
PHP
23 lines
456 B
PHP
<?php
|
|
|
|
class Emoticons_Plugin extends PHPUnit_Framework_TestCase
|
|
{
|
|
|
|
function setUp()
|
|
{
|
|
include_once __DIR__ . '/../emoticons.php';
|
|
}
|
|
|
|
/**
|
|
* Plugin object construction test
|
|
*/
|
|
function test_constructor()
|
|
{
|
|
$rcube = rcube::get_instance();
|
|
$plugin = new emoticons($rcube->api);
|
|
|
|
$this->assertInstanceOf('emoticons', $plugin);
|
|
$this->assertInstanceOf('rcube_plugin', $plugin);
|
|
}
|
|
}
|