Files
roundcubemail/plugins/debug_logger/tests/DebugLogger.php
Michael Voříšek d18406a8bd Fix binary operator spaces CS (#9330)
* align_single_space_minimal for assign

* assign operators grouping is not supported by PHP CS Fixer

* binary_operator_spaces = single_space

* fix anonymous function on single line

* align comments manually
2024-02-02 07:53:34 +01:00

24 lines
522 B
PHP

<?php
use PHPUnit\Framework\TestCase;
class DebugLogger_Plugin extends TestCase
{
public static function setUpBeforeClass(): void
{
include_once __DIR__ . '/../debug_logger.php';
}
/**
* Plugin object construction test
*/
public function test_constructor()
{
$rcube = rcube::get_instance();
$plugin = new debug_logger($rcube->plugins);
$this->assertInstanceOf('debug_logger', $plugin);
$this->assertInstanceOf('rcube_plugin', $plugin);
}
}