2017-03-10 02:39:42 +00:00
|
|
|
<?php
|
2017-11-17 01:23:18 +00:00
|
|
|
/** @license MIT
|
|
|
|
* Copyright 2017 J. King, Dustin Wilson et al.
|
|
|
|
* See LICENSE and AUTHORS files for details */
|
|
|
|
|
2017-03-10 02:39:42 +00:00
|
|
|
declare(strict_types=1);
|
2021-04-14 15:17:01 +00:00
|
|
|
|
2017-12-22 16:41:54 +00:00
|
|
|
namespace JKingWeb\Arsse\TestCase\Db\SQLite3;
|
2017-03-10 02:39:42 +00:00
|
|
|
|
2017-08-29 14:50:31 +00:00
|
|
|
/**
|
2017-07-20 22:36:03 +00:00
|
|
|
* @covers \JKingWeb\Arsse\Db\SQLite3\Driver<extended>
|
|
|
|
* @covers \JKingWeb\Arsse\Db\SQLite3\ExceptionBuilder */
|
2018-11-28 15:46:23 +00:00
|
|
|
class TestUpdate extends \JKingWeb\Arsse\TestCase\Db\BaseUpdate {
|
2019-08-25 17:19:11 +00:00
|
|
|
use \JKingWeb\Arsse\Test\DatabaseDrivers\SQLite3;
|
2019-01-12 17:43:06 +00:00
|
|
|
|
2018-11-28 15:46:23 +00:00
|
|
|
protected static $minimal1 = "create table arsse_meta(key text primary key not null, value text); pragma user_version=1";
|
|
|
|
protected static $minimal2 = "pragma user_version=2";
|
2018-12-10 18:17:04 +00:00
|
|
|
|
2019-10-16 18:42:43 +00:00
|
|
|
public static function tearDownAfterClass(): void {
|
2020-10-30 16:16:03 +00:00
|
|
|
if (static::$interface) {
|
|
|
|
static::$interface->close();
|
|
|
|
static::$interface = null;
|
|
|
|
}
|
2018-12-10 18:17:04 +00:00
|
|
|
parent::tearDownAfterClass();
|
|
|
|
}
|
2017-08-29 14:50:31 +00:00
|
|
|
}
|