mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 01:06:37 +02:00
💄 Fix format issues on backend module
This commit is contained in:
parent
99e323dabc
commit
87615ce221
58 changed files with 293 additions and 411 deletions
|
@ -65,9 +65,7 @@
|
|||
|
||||
;; Refresh webhook
|
||||
(let [whk' (th/db-get :webhook {:id (:id whk)})]
|
||||
(t/is (nil? (:error-code whk'))))
|
||||
|
||||
)))
|
||||
(t/is (nil? (:error-code whk')))))))
|
||||
|
||||
(t/deftest run-webhook-handler-2
|
||||
(with-mocks [http-mock {:target 'app.http.client/req! :return {:status 400}}]
|
||||
|
@ -114,6 +112,4 @@
|
|||
(let [whk' (th/db-get :webhook {:id (:id whk)})]
|
||||
(t/is (= "unexpected-status:400" (:error-code whk')))
|
||||
(t/is (= 3 (:error-count whk')))
|
||||
(t/is (false? (:is-active whk'))))
|
||||
|
||||
)))
|
||||
(t/is (false? (:is-active whk')))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue