Files
roundcubemail/tests/Framework/DBSqlite.php
Aleksander Machniak 47d9ed6d0c Add support for PHPUnit 6 and 7 (#6870)
Fixes composer dependencies: Package phpunit/phpunit-mock-objects is abandoned

We cannot support v8 yet because of errors like:
Declaration of MailFunc::setUp() must be compatible with PHPUnit\Framework\TestCase::setUp(): void
It would require dropping PHP < 7.1 support.
2019-12-28 09:37:45 +01:00

23 lines
390 B
PHP

<?php
/**
* Test class to test rcube_db_sqlite class
*
* @package Tests
* @group database
* @group sqlite
*/
class Framework_DBSqlite extends PHPUnit\Framework\TestCase
{
/**
* Class constructor
*/
function test_class()
{
$object = new rcube_db_sqlite('test');
$this->assertInstanceOf('rcube_db_sqlite', $object, "Class constructor");
}
}