mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-15 06:40:59 +08:00
29 lines
646 B
PHP
29 lines
646 B
PHP
<?php
|
|
/**
|
|
* @link http://www.yiiframework.com/
|
|
* @copyright Copyright (c) 2008 Yii Software LLC
|
|
* @license http://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();
|
|
}
|
|
}
|