diff --git a/packages/server/src/api/controllers/application.ts b/packages/server/src/api/controllers/application.ts index a3b08b5ff9..3a370564e7 100644 --- a/packages/server/src/api/controllers/application.ts +++ b/packages/server/src/api/controllers/application.ts @@ -654,9 +654,7 @@ async function destroyApp(ctx: UserCtx) { await quotas.removeApp() await events.app.deleted(app) - if (!env.isTest()) { - await deleteAppFiles(appId) - } + await deleteAppFiles(appId) await removeAppFromUserRoles(ctx, appId) await cache.app.invalidateAppMetadata(devAppId)