mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 05:50:35 +03:00
Added ghost_{public,private}_key to settings mock
no-issue This ensures that running individual tests are not relying on other tests having been run so they suceed, specifically the regression/site/site_spec.js tests
This commit is contained in:
parent
b2b278a3ba
commit
299c08b079
@ -984,6 +984,8 @@ module.exports = {
|
||||
cacheStub.withArgs('active_theme').returns(options.theme || 'casper');
|
||||
cacheStub.withArgs('active_timezone').returns('Etc/UTC');
|
||||
cacheStub.withArgs('permalinks').returns('/:slug/');
|
||||
cacheStub.withArgs('ghost_private_key').returns('-----BEGIN RSA PRIVATE KEY-----\nMB8CAQACAgPBAgMBAAECAgMFAgEfAgEfAgEXAgEXAgEA\n-----END RSA PRIVATE KEY-----\n');
|
||||
cacheStub.withArgs('ghost_public_key').returns('-----BEGIN RSA PUBLIC KEY-----\nMAkCAgPBAgMBAAE=\n-----END RSA PUBLIC KEY-----\n');
|
||||
|
||||
if (options.amp) {
|
||||
cacheStub.withArgs('amp').returns(true);
|
||||
|
Loading…
Reference in New Issue
Block a user