Files
yii2/tests/framework/log/SqliteTargetTest.php
SilverFire - Dmitry Naumenko c0d8b0a817 Fixed sqlite tests
Prevent marking some tests as risky
2017-10-30 22:13:17 +02:00

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();
}
}