Yii2 framework backup
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
749 B

<?php
7 years ago
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yiiunit\framework\web\session\sqlite;
use Yii;
/**
7 years ago
* Class DbSessionTest.
*
* @author Dmytro Naumenko <d.naumenko.a@gmail.com>
*
* @group db
* @group sqlite
*/
class DbSessionTest extends \yiiunit\framework\web\session\AbstractDbSessionTest
{
protected function setUp()
{
parent::setUp();
if (version_compare(Yii::$app->get('db')->getServerVersion(), '3.8.3', '<')) {
$this->markTestSkipped('SQLite < 3.8.3 does not support "WITH" keyword.');
}
}
protected function getDriverNames()
{
return ['sqlite'];
}
}