         admin-id (UUID. 0 2)
         new-user-id (UUID. 0 3)
         invalid-user-id (UUID. 0 4)
-        test-time (Instant/ofEpochSecond 1)
-        injections {:now (constantly test-time)
-                    :check-permit (fn [_permit])
+        injections {:check-permit (fn [_permit])
                     :user-exists? (fn [user-id]
                                     (= new-user-id user-id))}
         created-event {:event/type :congregation.event/congregation-created

(deftest rename-congregation-test
  (let [cong-id (UUID. 0 1)
        user-id (UUID. 0 2)
        test-time (Instant/ofEpochSecond 1)
        injections {:now (constantly test-time)
                    :check-permit (fn [_permit])}
        created-event {:event/type :congregation.event/congregation-created
                       :event/version 1
                       :congregation/id cong-id
                       :congregation/name "old name"
                       :congregation/schema-name ""}
        rename-command {:command/type :congregation.command/rename-congregation
                        :command/time test-time
                        :command/user user-id
                        :congregation/id cong-id
                        :congregation/name "new name"}

                                  :user/id target-user-id
                                  :permission/id :PLACEHOLDER}
        set-user-permissions-command {:command/type :congregation.command/set-user-permissions
                                      :command/time (Instant/now)
                                      :command/user admin-id
                                      :congregation/id cong-id
                                      :user/id target-user-id
