From a01a419a7d6413acb1a042b75dd303475245bed4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20Schl=C3=BCter?= Date: Sat, 2 Jun 2018 09:47:35 +0200 Subject: [PATCH] Fix warning that popped up when compiling tests (wrong number of args) --- test/cljs/airsonic_ui/events_test.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cljs/airsonic_ui/events_test.cljs b/test/cljs/airsonic_ui/events_test.cljs index 218e8a1..0d88f42 100644 --- a/test/cljs/airsonic_ui/events_test.cljs +++ b/test/cljs/airsonic_ui/events_test.cljs @@ -35,11 +35,11 @@ (let [credentials {:server "http://localhost" :u "another-user" :p "some_random_password123"} - fx (events/try-remember-user {:store {:credentials credentials}})] + fx (events/try-remember-user {:store {:credentials credentials}} [:_])] (testing "the auth request is skipped" (is (nil? (:http-xhrio fx)))) (testing "we get sent straight to the home page" (is (= ::events/credentials-verified (first (:dispatch fx))))))) (testing "When there's no previous login data" (testing "remembering has no effect" - (is (nil? (events/try-remember-user {})))))) + (is (nil? (events/try-remember-user {} [:_]))))))