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