*/ class TestResult extends \JKingWeb\Arsse\TestCase\Db\BaseResult { protected static $implementation = "SQLite 3"; protected static $createMeta = "CREATE TABLE arsse_meta(key text primary key not null, value text) without rowid"; protected static $createTest = "CREATE TABLE arsse_test(id integer primary key)"; public static function tearDownAfterClass() { static::$interface->close(); static::$interface = null; parent::tearDownAfterClass(); } protected function makeResult(string $q): array { $set = static::$interface->query($q); $rows = static::$interface->changes(); $id = static::$interface->lastInsertRowID(); return [$set, [$rows, $id]]; } }