From 4d3992eca3b9a723aa7ba48fb89ba0d5fb308a1a Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Thu, 21 Mar 2024 09:14:59 -0400 Subject: [PATCH] Update db_common_test.go --- db/db_common_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/db_common_test.go b/db/db_common_test.go index 488b832a..10dd6fff 100644 --- a/db/db_common_test.go +++ b/db/db_common_test.go @@ -1465,8 +1465,8 @@ func testStmtReadOnly(t *testing.T, db *DB) { err: errors.New(`no such table: non_existent_table`), }, { - name: "INSERT statement", - sql: "INSERT INTO foo VALUES (1, 'test')", + name: "FK on", + sql: "PRAGMA foreign_keys = ON", ro: false, }, {