You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found that swapping out [clojure.java.jdbc :as jdbc] for [next.jdbc :as jdbc] and leaving out [java-time.pre-java8] seemed to work.
Only issue after that is lein test seems to use guestbook_dev.db instead of guestbook_test.db, where entries to the db during the test are persisted and can be seen afterwards on the webpage when doing a lein run.
Also curious why the db files are not included in the .gitignore.
generated using Luminus version "3.78"
The text was updated successfully, but these errors were encountered:
Thanks for the heads up. The guide needs to be updated to use jdbc.next. I'll take a look at doing that. Not sure why lein test ends up using guestbook_dev.db for you. This should be controlled by the db specified in the config. When running lein test then test profile should be used:
After following this step of the guestbook guide, I get the following when running
lein test
.Sample code in the guide has the namespace set like so:
when initially after creating the project with
lein new luminus guestbook +h2 +immutant
it was originally:Found that swapping out
[clojure.java.jdbc :as jdbc]
for[next.jdbc :as jdbc]
and leaving out[java-time.pre-java8]
seemed to work.Only issue after that is
lein test
seems to useguestbook_dev.db
instead ofguestbook_test.db
, where entries to the db during the test are persisted and can be seen afterwards on the webpage when doing alein run
.Also curious why the db files are not included in the
.gitignore
.generated using Luminus version "3.78"
The text was updated successfully, but these errors were encountered: