mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-09 01:26:50 +01:00
24 lines
511 B
PHP
24 lines
511 B
PHP
<?php
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
class Identicon_Plugin extends TestCase
|
|
{
|
|
public static function setUpBeforeClass(): void
|
|
{
|
|
include_once __DIR__ . '/../identicon.php';
|
|
}
|
|
|
|
/**
|
|
* Plugin object construction test
|
|
*/
|
|
public function test_constructor()
|
|
{
|
|
$rcube = rcube::get_instance();
|
|
$plugin = new identicon($rcube->plugins);
|
|
|
|
$this->assertInstanceOf('identicon', $plugin);
|
|
$this->assertInstanceOf('rcube_plugin', $plugin);
|
|
}
|
|
}
|