Remove free plan feature flag
[MAILPOET-2098]
This commit is contained in:
@@ -5,10 +5,7 @@ import FreePlanAnnouncement from 'announcements/free_plan_announcement.jsx';
|
||||
|
||||
const ListingHeading = () => (
|
||||
<div>
|
||||
{
|
||||
MailPoet.FeaturesController.isSupported('new-free-plan')
|
||||
&& <FreePlanAnnouncement />
|
||||
}
|
||||
<FreePlanAnnouncement />
|
||||
|
||||
<h1 className="title">
|
||||
{MailPoet.I18n.t('pageTitle')}
|
||||
|
@@ -9,13 +9,11 @@ class FeaturesController {
|
||||
// Define features below in the following form:
|
||||
// const FEATURE_NAME_OF_FEATURE = 'name-of-feature';
|
||||
const FEATURE_DISPLAY_WOOCOMMERCE_REVENUES = 'display-woocommerce-revenues'; // may also have 'display_revenues' setting
|
||||
const FEATURE_NEW_FREE_PLAN = 'new-free-plan';
|
||||
|
||||
// Define feature defaults in the array below in the following form:
|
||||
// self::FEATURE_NAME_OF_FEATURE => true,
|
||||
private $defaults = [
|
||||
self::FEATURE_DISPLAY_WOOCOMMERCE_REVENUES => false,
|
||||
self::FEATURE_NEW_FREE_PLAN => false,
|
||||
];
|
||||
|
||||
/** @var array */
|
||||
|
@@ -11,7 +11,6 @@ class FreePlanAnnouncementCest {
|
||||
const NOTICE_SELECTOR = '[data-automation-id="free-plan-announcement"]';
|
||||
|
||||
function showAndCloseNotice(\AcceptanceTester $I) {
|
||||
(new Features())->withFeatureEnabled(FeaturesController::FEATURE_NEW_FREE_PLAN);
|
||||
$I->wantTo('Show and close free plan announcement');
|
||||
$I->login();
|
||||
$I->amOnMailPoetPage('Emails');
|
||||
|
Reference in New Issue
Block a user