-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot run tests in lesson 27 recipes tests: "app" is null #13
Comments
The same problem occurs when I run |
I am able to run tests at the REPL. I run them by sending the forms to the REPL and then running the functions from the REPL. |
How does your system look like at this point? When you evaluate |
{:db/postgres #next.jdbc.default_options.DefaultOptions{
:connectable "jdbc:postgresql://my_heroku_psql_instance_url",
:options {:qualifier-fn #'camel-snake-kebab.core/->kebab-case,
:label-fn #'camel-snake-kebab.core/->kebab-case,
:builder-fn #'next.jdbc.result-set/as-kebab-maps,
:column-fn #'camel-snake-kebab.core/->snake_case,
:table-fn #'camel-snake-kebab.core/->snake_case}},
:cheffy/app #object[clojure.lang.AFunction$1 0x78d6ec88 "clojure.lang.AFunction$1@78d6ec88"],
:server/jetty #object[org.eclipse.jetty.server.Server 0x12be30ac "Server@12be30ac{STARTED}[9.4.28.v20200408]"]} |
Well, that is only when running in the REPL. Are you referring to evaluating |
Well, this does make sense. I have been running tests from the REPL, which is a live running system, and there hasn't been any code written to initialize the application for the Leiningen tests. Maybe this is a non-issue. I can run the tests successfully from within the REPL, just not with |
I am getting 1 error running tests near the middle of lesson 27, a NullPointerException saying the "app" is null.
It's referring to the app defined in the let binding of
test-endpoint
Error:
It seems like somehow integrant is not pulling in the "app" state correctly.
The text was updated successfully, but these errors were encountered: