mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
Issue #61: fix failing test for TransactionObserver and savepoints
This commit is contained in:
1 parent
ad8551b746
commit
32cd559379
1 file changed
-1
@@ -64,7 +64,6 @@ class TransactionObserverSavepointsTests: GRDBTestCase {
|
||||
try db.execute("INSERT INTO items2 (id) VALUES (NULL)")
|
||||
XCTAssertEqual(observer.events.count, 0)
|
||||
try db.execute("RELEASE SAVEPOINT sp1")
|
||||
XCTAssertEqual(observer.events.count, 2)
|
||||
XCTAssertFalse(db.isInsideTransaction)
|
||||
|
||||
XCTAssertEqual(Int.fetchOne(db, "SELECT COUNT(*) FROM items1"), 1)
|
||||
|
||||
Reference in new issue
Block a user