mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
Disable test that fails on iOS 8.1 (SQLite 3.7.13)
This commit is contained in:
1 parent
4501d7dcde
commit
ab1a672336
1 file changed
+14
@@ -23,6 +23,10 @@ class StatementSelectionInfoTests : GRDBTestCase {
|
||||
}
|
||||
|
||||
func testRowIdNameInSelectStatement() throws {
|
||||
// Here we test that sqlite authorizer gives the "ROWID" name to
|
||||
// the rowid column, regardless of its name in the request (rowid, oid, _rowid_)
|
||||
//
|
||||
// See also testRowIdNameInUpdateStatement
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
try db.execute("CREATE TABLE foo (name TEXT)")
|
||||
@@ -181,6 +185,16 @@ class StatementSelectionInfoTests : GRDBTestCase {
|
||||
}
|
||||
|
||||
func testRowIdNameInUpdateStatement() throws {
|
||||
// Here we test that sqlite authorizer gives the "ROWID" name to
|
||||
// the rowid column, regardless of its name in the request (rowid, oid, _rowid_)
|
||||
//
|
||||
// See also testRowIdNameInSelectStatement
|
||||
|
||||
guard sqlite3_libversion_number() > 3007013 else {
|
||||
// This test fails on iOS 8.1 (SQLite 3.7.13)
|
||||
// TODO: evaluate the consequences
|
||||
return
|
||||
}
|
||||
let dbQueue = try makeDatabaseQueue()
|
||||
try dbQueue.inDatabase { db in
|
||||
try db.execute("CREATE TABLE foo (name TEXT)")
|
||||
|
||||
Reference in new issue
Block a user