Skip to content

Commit

Permalink
Comment -> code
Browse files Browse the repository at this point in the history
  • Loading branch information
mbezjak committed Jan 4, 2024
1 parent bc02f91 commit e247bfd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions next-jdbc/test/ragtime/next_jdbc_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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")))))

Expand Down

0 comments on commit e247bfd

Please sign in to comment.