0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/test/unit/server
Fabien 'egg' O'Carroll b36d0cc1c4
🐛 Fixed idempotentcy of addPermissionToRole util (#13685)
refs https://github.com/TryGhost/Team/issues/1178

The "up" migration that this util generates correctly throws if the
pre-requisite data cannot be found in the database. The "down" migration
however was incorrectly mirroring this behaviour of throwing - which
meant that it wasn't idempotent, as it does not require a permission or
role to existing if it wants to move relations between them.
2021-11-01 09:27:50 +00:00
..
adapters Reworked LocalFileStore methods to use async syntax 2021-10-20 10:29:46 +04:00
data 🐛 Fixed idempotentcy of addPermissionToRole util (#13685) 2021-11-01 09:27:50 +00:00
lib Removed remaining usage of i18n & translation file 2021-10-15 11:39:07 +01:00
models Moved URL service to backend 2021-10-19 07:29:09 +13:00
services Added ability for themes to define custom settings (#13661) 2021-10-22 15:02:16 +01:00
web Moved server/web/site to frontend/web 2021-10-21 19:28:18 +01:00
notify.test.js Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
overrides.test.js Set global Luxon timezone override to UTC 2021-10-20 09:19:29 +02:00