0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/test/e2e-api/admin
Simon Backx a95e9d0b7b
Fixed error in newsletter editing limit checks (#14817)
refs https://github.com/TryGhost/Team/issues/1583
refs https://ghost.slack.com/archives/C02G9E68C/p1652397268702749?thread_ts=1652397192.822389&cid=C02G9E68C

Used `model.status` instead of `model.get('status')`, resulting in undefined, resulting in `!== 'active'` to return true. Also added a test case for editing active newsletters.
2022-05-13 10:15:35 +02:00
..
__snapshots__ Fixed error in newsletter editing limit checks (#14817) 2022-05-13 10:15:35 +02:00
actions.test.js
config.test.js
custom-theme-settings.test.js
db.test.js
email-previews.test.js Fixed email preview using wrong newsletter (#14756) 2022-05-11 17:52:24 +02:00
emails.test.js
files.test.js
images.test.js
integrations.test.js
invites.test.js
key-authentication.test.js
labels.test.js
media.test.js
members-importer.test.js Fixed mockLabs disabling all other flags (#14621) 2022-04-28 10:55:20 +02:00
members-newsletters.test.js Fixed mockLabs disabling all other flags (#14621) 2022-04-28 10:55:20 +02:00
members-stripe-connect.test.js
members.test.js Allowed tiers include and data for member endpoints (#14790) 2022-05-11 22:26:03 +05:30
newsletters.test.js Fixed error in newsletter editing limit checks (#14817) 2022-05-13 10:15:35 +02:00
notifications.test.js
oembed.test.js
offers.test.js
pages.test.js Replaced Products with Tiers API endpoints 2022-05-12 19:59:57 +01:00
posts.test.js Replaced Products with Tiers API endpoints 2022-05-12 19:59:57 +01:00
redirects.test.js
roles.test.js
session.test.js Swapped etag matcher to always be anyEtag 2022-05-02 11:05:07 +01:00
settings-files.test.js
settings.test.js Removed support for editing members_from_address 2022-05-12 20:05:10 +01:00
site.test.js Swapped etag matcher to always be anyEtag 2022-05-02 11:05:07 +01:00
slugs.test.js
snippets.test.js
stats.test.js Added /stats/subscriptions API (#14547) 2022-04-27 14:53:32 +01:00
tags.test.js
themes.test.js
tiers.test.js Fixed mockLabs disabling all other flags (#14621) 2022-04-28 10:55:20 +02:00
users.test.js Fixed test query using outdated author_id filter 2022-05-09 20:34:06 +08:00
utils.js Included newsletter relation by default in posts (#14723) 2022-05-09 11:06:59 +02:00
webhooks.test.js Changed webhooks to store safe version 2022-05-06 12:43:14 +01:00