mirror of
https://github.com/penpot/penpot.git
synced 2025-05-29 10:26:10 +02:00
✨ Fix problem with garbage collection
This commit is contained in:
parent
c28c55bf0b
commit
dd8480cd87
3 changed files with 13 additions and 7 deletions
|
@ -6,8 +6,9 @@
|
|||
|
||||
(ns backend-tests.rpc-file-thumbnails-test
|
||||
(:require
|
||||
[app.common.uuid :as uuid]
|
||||
[app.common.thumbnails :as thc]
|
||||
[app.common.types.shape :as cts]
|
||||
[app.common.uuid :as uuid]
|
||||
[app.config :as cf]
|
||||
[app.db :as db]
|
||||
[app.rpc :as-alias rpc]
|
||||
|
@ -66,7 +67,7 @@
|
|||
data2 {::th/type :create-file-object-thumbnail
|
||||
::rpc/profile-id (:id profile)
|
||||
:file-id (:id file)
|
||||
:object-id (str page-id shid)
|
||||
:object-id (thc/fmt-object-id (:id file) page-id shid "frame")
|
||||
:media {:filename "sample.jpg"
|
||||
:size 7923
|
||||
:path (th/tempfile "backend_tests/test_files/sample2.jpg")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue