From e247bfd1b948608af9929b9223dc0bbe93fe4828 Mon Sep 17 00:00:00 2001 From: Miro Bezjak Date: Thu, 10 Aug 2023 12:58:51 +0200 Subject: [PATCH] Comment -> code --- next-jdbc/test/ragtime/next_jdbc_test.clj | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/next-jdbc/test/ragtime/next_jdbc_test.clj b/next-jdbc/test/ragtime/next_jdbc_test.clj index 6d846f6..aa72fc2 100644 --- a/next-jdbc/test/ragtime/next_jdbc_test.clj +++ b/next-jdbc/test/ragtime/next_jdbc_test.clj @@ -73,10 +73,9 @@ (sql/query (:datasource db)) (map :RAGTIME_MIGRATIONS/ID))))) - ;; SQL returns more than 1 row - (let [migrations-table-exists-sql "SELECT * FROM INFORMATION_SCHEMA.TABLES" + (let [sql-returns-more-than-1-row "SELECT * FROM INFORMATION_SCHEMA.TABLES" db (jdbc/sql-database datasource - {:migrations-table-exists-sql migrations-table-exists-sql})] + {:migrations-table-exists-sql sql-returns-more-than-1-row})] (is (thrown? ExceptionInfo (p/add-migration-id db "12")))))