0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Corrected content api test key

no issue

- we reduced the key length
This commit is contained in:
kirrg001 2019-01-18 17:37:58 +01:00
parent fbe2829b93
commit de7ba3cd85
2 changed files with 2 additions and 2 deletions

View file

@ -82,6 +82,6 @@ module.exports = {
}
},
getValidKey() {
return _.repeat('c', 128);
return testUtils.DataGenerator.Content.api_keys[1].secret;
}
};

View file

@ -392,7 +392,7 @@ DataGenerator.Content = {
{
id: ObjectId.generate(),
type: 'content',
secret: _.repeat('c', 128)
secret: _.repeat('c', 26)
// integration_id: DataGenerator.Content.integrations[0].id
},
{