mirror of
https://github.com/penpot/penpot.git
synced 2025-06-18 13:01:40 +02:00
♻️ Normalize logical deletion to future dates
Instead of managing the ...
This commit is contained in:
parent
a3b4fc9545
commit
a706907b26
14 changed files with 243 additions and 166 deletions
|
@ -209,16 +209,16 @@
|
|||
::rpc/profile-id (:id prof1)
|
||||
:id (:id team1)}
|
||||
out (th/command! params)]
|
||||
;; (th/print-result! out)
|
||||
;; (th/print-result! out)
|
||||
|
||||
(let [team (th/db-get :team {:id (:id team1)} {::db/remove-deleted false})]
|
||||
(t/is (dt/instant? (:deleted-at team)))))
|
||||
|
||||
;; Request profile to be deleted
|
||||
;; Request profile to be deleted
|
||||
(let [params {::th/type :delete-profile
|
||||
::rpc/profile-id (:id prof1)}
|
||||
out (th/command! params)]
|
||||
;; (th/print-result! out)
|
||||
;; (th/print-result! out)
|
||||
(t/is (nil? (:result out)))
|
||||
(t/is (nil? (:error out)))))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue