mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-02-20 17:41:18 +01:00
* Add PHPUnit 10.x and 11.x support * fix undefined TestCase::getName() for PHPUnit 10+ * Add PHPUnit attributes but keep annotations
28 lines
506 B
PHP
28 lines
506 B
PHP
<?php
|
|
|
|
namespace Roundcube\Tests\Framework;
|
|
|
|
use PHPUnit\Framework\Attributes\Group;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
/**
|
|
* Test class to test rcube_db_mysql class
|
|
*
|
|
* @group database
|
|
* @group mysql
|
|
*/
|
|
#[Group('database')]
|
|
#[Group('mysql')]
|
|
class DBMysqlTest extends TestCase
|
|
{
|
|
/**
|
|
* Class constructor
|
|
*/
|
|
public function test_class()
|
|
{
|
|
$object = new \rcube_db_mysql('test');
|
|
|
|
$this->assertInstanceOf(\rcube_db_mysql::class, $object, 'Class constructor');
|
|
}
|
|
}
|