mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 05:42:32 +03:00
🐛 Fixed public/members.js request path
- removed trailing slash typo - moved tests out of regression & renamed
This commit is contained in:
parent
cd04262889
commit
4eeb8604dd
@ -43,7 +43,7 @@ function getMembersHelper() {
|
||||
const stripeSecretToken = stripePaymentProcessor.config.secret_token;
|
||||
const stripePublicToken = stripePaymentProcessor.config.public_token;
|
||||
|
||||
let membersHelper = `<script defer src="${getAssetUrl('public/members.js/', true)}"></script>`;
|
||||
let membersHelper = `<script defer src="${getAssetUrl('public/members.js', true)}"></script>`;
|
||||
if (!!stripeSecretToken && stripeSecretToken !== '' && !!stripePublicToken && stripePublicToken !== '') {
|
||||
membersHelper += '<script src="https://js.stripe.com/v3/"></script>';
|
||||
}
|
||||
|
@ -1,16 +1,16 @@
|
||||
const should = require('should');
|
||||
const sinon = require('sinon');
|
||||
const supertest = require('supertest');
|
||||
const testUtils = require('../../utils');
|
||||
const configUtils = require('../../utils/configUtils');
|
||||
const settingsCache = require('../../../core/server/services/settings/cache');
|
||||
const testUtils = require('../utils');
|
||||
const configUtils = require('../utils/configUtils');
|
||||
const settingsCache = require('../../core/server/services/settings/cache');
|
||||
|
||||
const ghost = testUtils.startGhost;
|
||||
|
||||
// NOTE: if only this suite is run some of the tests will fail due to
|
||||
// @TODO: if only this suite is run some of the tests will fail due to
|
||||
// wrong template loading issues which would need to be investigated
|
||||
// As a workaround run it with some of other tests e.g. "frontend_spec"
|
||||
describe('Integration - Web - Members', function () {
|
||||
describe('Basic Members Routes', function () {
|
||||
let request;
|
||||
|
||||
before(function () {
|
Loading…
Reference in New Issue
Block a user