2017-03-09 21:39:42 -05:00
|
|
|
<?php
|
2017-11-16 20:23:18 -05:00
|
|
|
/** @license MIT
|
|
|
|
* Copyright 2017 J. King, Dustin Wilson et al.
|
|
|
|
* See LICENSE and AUTHORS files for details */
|
|
|
|
|
2017-03-09 21:39:42 -05:00
|
|
|
declare(strict_types=1);
|
2021-04-14 11:17:01 -04:00
|
|
|
|
2017-12-22 11:41:54 -05:00
|
|
|
namespace JKingWeb\Arsse\TestCase\Db\SQLite3;
|
2017-03-09 21:39:42 -05:00
|
|
|
|
2017-08-29 10:50:31 -04:00
|
|
|
/**
|
2017-07-20 18:36:03 -04:00
|
|
|
* @covers \JKingWeb\Arsse\Db\SQLite3\Driver<extended>
|
|
|
|
* @covers \JKingWeb\Arsse\Db\SQLite3\ExceptionBuilder */
|
2018-11-28 10:46:23 -05:00
|
|
|
class TestUpdate extends \JKingWeb\Arsse\TestCase\Db\BaseUpdate {
|
2019-08-25 13:19:11 -04:00
|
|
|
use \JKingWeb\Arsse\Test\DatabaseDrivers\SQLite3;
|
2019-01-12 12:43:06 -05:00
|
|
|
|
2018-11-28 10:46:23 -05: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 13:17:04 -05:00
|
|
|
|
2019-10-16 14:42:43 -04:00
|
|
|
public static function tearDownAfterClass(): void {
|
2020-10-30 12:16:03 -04:00
|
|
|
if (static::$interface) {
|
|
|
|
static::$interface->close();
|
|
|
|
static::$interface = null;
|
|
|
|
}
|
2018-12-10 13:17:04 -05:00
|
|
|
parent::tearDownAfterClass();
|
|
|
|
}
|
2017-08-29 10:50:31 -04:00
|
|
|
}
|