Issue #61: fix failing test for TransactionObserver and savepoints

This commit is contained in:
Gwendal Roué committed 2016-05-28 15:57:32 +02:00
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)