mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-02-25 20:11:20 +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
512 B
PHP
28 lines
512 B
PHP
<?php
|
|
|
|
namespace Roundcube\Tests\Framework;
|
|
|
|
use PHPUnit\Framework\Attributes\Group;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
/**
|
|
* Test class to test rcube_db_sqlite class
|
|
*
|
|
* @group database
|
|
* @group sqlite
|
|
*/
|
|
#[Group('database')]
|
|
#[Group('sqlite')]
|
|
class DBSqliteTest extends TestCase
|
|
{
|
|
/**
|
|
* Class constructor
|
|
*/
|
|
public function test_class()
|
|
{
|
|
$object = new \rcube_db_sqlite('test');
|
|
|
|
$this->assertInstanceOf(\rcube_db_sqlite::class, $object, 'Class constructor');
|
|
}
|
|
}
|