for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Yiisoft\ActiveRecord\Tests\Driver\Sqlite;
use Yiisoft\ActiveRecord\Tests\Support\SqliteHelper;
final class ActiveRecordFactoryTest extends \Yiisoft\ActiveRecord\Tests\ActiveRecordFactoryTest
{
public function setUp(): void
parent::setUp();
$sqliteHelper = new SqliteHelper();
$this->db = $sqliteHelper->createConnection();
$this->arFactory = $sqliteHelper->createARFactory($this->db);
}
protected function tearDown(): void
parent::tearDown();
$this->db->close();
unset($this->arFactory, $this->db);