mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
✨ Bumped multiple tiers to GA (#14311)
refs https://github.com/TryGhost/Team/issues/1267 Multiple tiers is coming out of beta - - allows site owners to create multiple tiers - allows setting individual welcome page for each tier - allows setting visibility for individual tiers for portal and themes
This commit is contained in:
parent
9263712d9d
commit
45cadcbe99
2 changed files with 2 additions and 22 deletions
|
@ -15,6 +15,7 @@ const messages = {
|
|||
|
||||
// flags in this list always return `true`, allows quick global enable prior to full flag removal
|
||||
const GA_FEATURES = [
|
||||
'multipleProducts',
|
||||
'tierWelcomePages',
|
||||
'tierName',
|
||||
'selectablePortalLinks',
|
||||
|
@ -25,8 +26,7 @@ const GA_FEATURES = [
|
|||
// NOTE: this allowlist is meant to be used to filter out any unexpected
|
||||
// input for the "labs" setting value
|
||||
const BETA_FEATURES = [
|
||||
'activitypub',
|
||||
'multipleProducts'
|
||||
'activitypub'
|
||||
];
|
||||
|
||||
const ALPHA_FEATURES = [
|
||||
|
|
|
@ -298,13 +298,6 @@ describe('Front-end members behaviour', function () {
|
|||
await loginAsMember(email);
|
||||
});
|
||||
|
||||
it('can read label-only post content', async function () {
|
||||
await request
|
||||
.get('/thou-must-be-labelled-vip/')
|
||||
.expect(200)
|
||||
.expect(assertContentIsPresent);
|
||||
});
|
||||
|
||||
it('generates a MemberPageView event', async function () {
|
||||
const spy = sinon.spy();
|
||||
DomainEvents.subscribe(MemberPageViewEvent, spy);
|
||||
|
@ -406,19 +399,6 @@ describe('Front-end members behaviour', function () {
|
|||
});
|
||||
});
|
||||
|
||||
describe('as paid member with vip label', function () {
|
||||
before(async function () {
|
||||
await loginAsMember('vip-paid@test.com');
|
||||
});
|
||||
|
||||
it('can read label-only post content', async function () {
|
||||
await request
|
||||
.get('/thou-must-be-labelled-vip/')
|
||||
.expect(200)
|
||||
.expect(assertContentIsPresent);
|
||||
});
|
||||
});
|
||||
|
||||
describe('as comped member', function () {
|
||||
before(async function () {
|
||||
await loginAsMember('comped@test.com');
|
||||
|
|
Loading…
Add table
Reference in a new issue