Files
yii2/tests/framework/log/SqliteTargetTest.php
2022-08-03 12:32:18 +03:00

29 lines
648 B
PHP

<?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yiiunit\framework\log;
/**
* @group db
* @group sqlite
* @group log
*/
class SqliteTargetTest extends DbTargetTest
{
protected static $driverName = 'sqlite';
public function testTransactionRollBack()
{
if (self::getConnection()->dsn === 'sqlite::memory:') {
$this->markTestSkipped('It is not possible to test logging during transaction when the DB is in memory');
return;
}
parent::testTransactionRollBack();
}
}