mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Removed old activitypub
flag
- we have another flag with a different casing and that's the one that is used, so `activitypub` can be deleted
This commit is contained in:
parent
3aefb8951c
commit
cd7f8fbba4
4 changed files with 4 additions and 6 deletions
|
@ -27,7 +27,6 @@ const GA_FEATURES = [
|
|||
// input for the "labs" setting value
|
||||
const BETA_FEATURES = [
|
||||
'additionalPaymentMethods',
|
||||
'activitypub',
|
||||
'stripeAutomaticTax',
|
||||
'webmentions',
|
||||
'editorExcerpt',
|
||||
|
|
|
@ -11,7 +11,6 @@ Object {
|
|||
"labs": Object {
|
||||
"ActivityPub": true,
|
||||
"NestPlayground": true,
|
||||
"activitypub": true,
|
||||
"additionalPaymentMethods": true,
|
||||
"adminXDemo": true,
|
||||
"announcementBar": true,
|
||||
|
|
|
@ -824,7 +824,7 @@ describe('Importer', function () {
|
|||
|
||||
exportData.data.settings[0] = testUtils.DataGenerator.forKnex.createSetting({
|
||||
key: 'labs',
|
||||
value: JSON.stringify({activitypub: true})
|
||||
value: JSON.stringify({additionalPaymentMethods: true})
|
||||
});
|
||||
|
||||
return dataImporter.doImport(exportData, importOptions)
|
||||
|
@ -835,7 +835,7 @@ describe('Importer', function () {
|
|||
.then(function (result) {
|
||||
should.equal(result.attributes.key, 'labs');
|
||||
should.equal(result.attributes.group, 'labs');
|
||||
should.equal(result.attributes.value, '{"activitypub":true}');
|
||||
should.equal(result.attributes.value, '{"additionalPaymentMethods":true}');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -79,11 +79,11 @@ describe('Settings API', function () {
|
|||
it('Can edit only allowed labs keys', async function () {
|
||||
await checkCanEdit('labs',
|
||||
JSON.stringify({
|
||||
activitypub: true,
|
||||
additionalPaymentMethods: true,
|
||||
gibberish: true
|
||||
}),
|
||||
{
|
||||
activitypub: true
|
||||
additionalPaymentMethods: true
|
||||
}
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue