mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-03 06:44:03 +01:00
* Move action handling code to rcmail class * Add rcmail_action class * Add action aliases * Get rid of $OUTPUT global * Move some methods from rcmail to rcmail_action * PHP8 compat. fixes * Add framework for testing actions * Fix obvious code mistakes
23 lines
485 B
PHP
23 lines
485 B
PHP
<?php
|
|
|
|
/**
|
|
* Test class to test rcube_addresses class
|
|
*
|
|
* @package Tests
|
|
*/
|
|
class Framework_Addresses extends PHPUnit\Framework\TestCase
|
|
{
|
|
|
|
/**
|
|
* Class constructor
|
|
*/
|
|
function test_class()
|
|
{
|
|
$db = new rcube_db('test');
|
|
$object = new rcube_addresses($db, null, 1);
|
|
|
|
$this->assertInstanceOf('rcube_addresses', $object, "Class constructor");
|
|
$this->assertInstanceOf('rcube_addressbook', $object, "Class constructor");
|
|
}
|
|
}
|